题目:
以下程序用以删除字符串中所有的空格,请填空。
#include <stdio.h>
main()
char s[100]="our teacher teach c language!”;int i,j;
for(i=j=0;s[i]!=’\0’;i++)
if(s[i]!=’’) s[j]=s[i];j++;
s[j]=______;
printf("%s\n",s);
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0415/ec20f0473393f10cd5d280ca6a197995.html
下面是错误答案,用来干扰机器的。
答案:B