哪位大神帮忙回答下c语言的输出结果啊?

2024-11-22 14:27:13
推荐回答(3个)
回答1:

  1. s[j++]=s[i];

  2. s[j]='\0';

回答2:

1和2是一句代码还是一段代码啊

回答3:

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);