if(*p==ch2)printf("%c\n",*p);elseprintf("\n");if-else语句的使用意义何在?
一个一个捋if(*p==ch2)printf("%c\n",p);elseprintf("\n");意义就是当p不等于ch2的时候输出空格,相等的时候输出字符内容