#include //加#void fun(char *s) {int i,j; for(i=j=0;s[i]!='\0';i++) if(s[i]!='c') s[j]=s[i];//把第一个元素用最后一个非C字符代替s[i]='\0';}main(){char s[80];printf("Enter a string: "); gets(s);printf("The original string: "); puts(s);fun(s);printf("The string after deleted: "); puts(s); printf("\n\n");return 0;//返回空}