s[j++]=s[i];
s[j]='\0';
1和2是一句代码还是一段代码啊
char s[80]; int i, j; gets_s(s); for (i = j = 0; s[i] != '\0'; i++) if (s[i] != 'c') s[j++] = s[i]; s[j] = '\0'; puts(s);