题目内容
(请给出正确答案)
[主观题]
有以下程序#include <stdio.h>main(){ int num=0; while(num <=2) { num++; printf("%
有以下程序#include <stdio.h>main(){ int num=0; while(num <=2) { num++; printf("%d\n",num); }}上面程序的输出结果是
A.1
B.1
2
C.1
2
3
D.1
2
3
4
答案
查看答案
有以下程序#include <stdio.h>main(){ int num=0; while(num <=2) { num++; printf("%d\n",num); }}上面程序的输出结果是
A.1
B.1
2
C.1
2
3
D.1
2
3
4
第2题
A.65536
B.0
C.有语法错误,无输出结果
D.-l
第4题
A.1
B.1 2
C.1 2 3
D.1 2 3 4
第5题
有以下程序:
include <stdio.h>
main()
{ int a=2,b;
b=a<<2;printf("%d\n",b);
}
程序运行后的输出结果是()。
A.2
B.4
C.6
D.8
第6题
A.34
B.134
C.123
D.1234
第7题
A.####
B.****
C.####****
D.有语法错误,无输出结果
第8题
A.54
B.55
C.65
D.45
第9题
A.11
B.10
C.9
D.8