填空题

以下程序的运行结果是 【13】 。
main()
char *k="aeiou";
for(;*k;k++) printf("%c",*k);

【参考答案】

aeiou
<上一题 目录 下一题>
热门 试题

填空题
若有如下程序: void sub() static int x=6; x/=2;printf( %d ,x); main() int m; for(m=0;m<=2;m++) sub(); 则程序运行后的输出结果是 【17】 。
填空题
以下程序的功能是对从键盘上输入的两个字符串进行比较,然后输出两个字符串中第一个不相同字符的ASCII码值之差。请填空。 #include stdio.h main() char a1[20],a2[20]; int n=0,t; scanf( %st ,a1); scanf( %s ,a2); while(a1[n]!=a2[n]&&(a1[n]!= 【15】 )) t= 【16】 ; printf( %d n ,t); n++;
相关试题
  • 下面程序把从终端读入的10个整数以二进制...
  • 定义长度为12的数组,下面四种方法中正确...