题目:
以下程序的功能是将字符串s中的数字字符放入d数组中,最后输出d中的字符串。例如,输入字符串:abc123edf456gh,执行程序后输出:123456。请填空。 #include <stdio.h> #include <ctype.h> main( ) { char s[80], d[80]; int i,j; gets(s); for(i=j=0;s[i]!=’’\0’’;i++) if(【 】) { d[j]=s[i]; j++; } d[j]=’’\0’’; puts(d); }
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0729/1405941469f5708cae7d201c0c3229cb.html
下面是错误答案,用来干扰机器的。
参考答案:对