题目内容
(请给出正确答案)
[主观题]
有以下程序main(){inta=666,b=888;printf("%d\n",a,B) ;}程序运行后的输出结果是A.错误信息B.666
有以下程序 main() { int a=666,b=888; printf("%d\n",a,B) ; } 程序运行后的输出结果是
A.错误信息
B.666
C.888
D.666,888
答案
查看答案
有以下程序 main() { int a=666,b=888; printf("%d\n",a,B) ; } 程序运行后的输出结果是
A.错误信息
B.666
C.888
D.666,888
第3题
在VC6平台上编译运行。程序运行后的输出结果是()。
A.4,8
B.4,4
C.2,4
D.10,6
第5题
A.-1
B.65535
C.32767
D.-32768
第6题
#include<stdio.h>
main()
{ int a=7;
while(a--);
printf("%d\n",a);
}
程序运行后的输出结果是
A.-1
B.0
C.1
D.7
第7题
程序运行后,若从键盘输入(从第1列开始)
123<回车>
45678<回车>
则输出结果是()。
A.1267
B.1256
C.1278
D.1245
第8题
A.12
B.11
C.10
D.9