填空题
以下程序运行时从键盘输入:How are you <回车>,则输出结果为______。
#include<stdio.h>
main()
char a[20]="How are you",b[20];
scanf("%s", b); printf("%s %s\n", a, b);
【参考答案】
How are youHow
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下列函数从字符数组s[]中删除和c一样的字符,请在下面横线处填空。 void delete(s,c) char s[],c; int i,j; for(i=j=0;______;i++) if(s[i]!=’c’) s[j++]=s[i]; s[j]= 0 ;
点击查看答案&解析
填空题
下列程序执行输出的结果是______。 #include<stdio.h> f(int a) int b=0; static c=7; a=c++;b++; return(a); main() int a=2,i,k; for(i=0;i<2;i++) k=f(a++); printf( %d n ,k);
点击查看答案&解析
相关试题
以下程序运行后的输出结果是______。...