填空题
以下程序运行后的输出结果是______。
main()
int a=1,b=2,c=3;
if(c=a) printf("%d\n",c);
else printf("%d\n",b);
【参考答案】
A
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是______。main() char c; int n=100; loat f=10; double x; x=f*=n =(c=50); printf( %d %f n ,n,x);
点击查看答案
填空题
有以下程序,若运行时从键盘输入:18,11<回车>,则程序的输出结果是______。main() int a,b; printf( Enter a,b: );scanf( %d,%d ,&a,&b); while(a!=b) while(a>b)a-=b; while(b>a)b-=a; printf( %3d%3d ,a,b);
点击查看答案
相关试题
以下程序运行后的输出结果是______。...
i%2@i%2==1
以下程序中函数fun的功能是:统计person所...
j+1.
以下程序的功能是:求出数组x中各相邻两个...