输出是这样
第二个for 里,直接用第一个指针--就可以了。
第二个for判断条件错了,应该是pointer2>=ch
你的point2 = point1 - 1;因为point1这个地址是最后出来就是'\0';