更多“阅读程序并说出程序的运行结果 include void main(); }”相关的问题
第1题
下面程序的运行结果为()。 #include void main { for(int a=0,x=0;!xa<=10;a++) { a++: } cout$amp;A.10
点击查看答案
第2题
下面程序的运行结果为()。 #include void main { char a=’3’: switch(8) { case 3:cout$amp;A.3
点击查看答案
第3题
Tilil程序的运行结果是()。 #include void main { int i=1: while(i<=8) if(i%3 1=2)continue: else eout$amp;A.25
点击查看答案
第4题
有下列程序: #include voidmain() {chara=4; printf("%d\n",a=a$amp;A.40
点击查看答案
第5题
有下列程序: #include voidmain() {inti,j; for(i=3;i>=1;i--) {for(j=1;j<=2;j++)printf(”%d”,i+j); printf("\n"); } } 程序的运行结果是()。
A.234
B.432 345543 34
C.23
D.45 3434 2323
点击查看答案
第6题
下列程序的运行结果为()。 #include void print(double A. { cout$amp;A.1.2 34
点击查看答案
第7题
下列程序的输出结果为()。 #include void main { char*a[]={”hell0”,”the”,”world”}; char** pa = a: pa++; cout$amp;A.hello
B.the
C.world
D.hellotheworld
点击查看答案
第8题
有下列程序: #include voidmain() {intx=1,y=2,z=3; if(x>y) if(y
点击查看答案
第9题
下列程序的运行结果是()。 #include main { int a=2,b=3,c=4: if(a
点击查看答案
第10题
有以下程序: #include #include main() {printf{"%d\n",strlen("%d\n",strlen("ATS\n012\|"));} 程序运行后的输出结果是()。
点击查看答案