填空题
当执行以下程序时,输入1234567890<回车>,则其中while循环体将执行______次。
#include<stdioh>
main()
char ch;
while((ch=getchar())==’0’)printf("#");
【参考答案】
0
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序在运行时若输入:1234567,则程序的运行结果是______。 #include<stdio.h> main() int x, y; scanf( %2d%1d , &x, &y); printf( %d n , x+y);
点击查看答案&解析
填空题
下列程序的运行结果是______。 #include<stdio.h> main() int a=10,b=3; printf( %d, ,a%b); printf( %d, ,(a-b,a+b)); printf( %d n ,a-ba-b:a+b);
点击查看答案&解析
相关试题
以下程序运行后的输出结果是 。 #includ...
函数调用语句:“fgets(buf,n,fp);”...
下面程序的运行结果是______。 #in...
有以下程序,若运行时从键盘输入:18,1...