题目内容

以下程序段的输出结果是( )。int m=5;if(m++>5)printf("%d\n",m);elseprintf("%d\n",m--);

A. 6
B. 5
C. 4
D. 7

查看答案
更多问题

以下if语句语法正确的是( )

A. if(x>0) printf("%f",x) else printf("%f",-x);
B. if(x<0) x=x+y ; printf("%f",x); else printf("%f",-x);
C. if(x>0) {x=x+y ; else printf("%f",x);} printf("%f",-x);
D. if(x<0) x=x+y, printf("%f",x); else printf("%f",-x);

已知int x=10,y=20,z=30;执行以下语句后x,y,z的值是()。if(x>y)z=x;x=y;y=z;

A. 10, 20, 30
B. 20, 30, 30
C. 20, 30,10
D. 20, 30, 20

下列程序段的输出结果是()。int i=3;switch(i){case 1:case 2:printf("%d",i);case 3:case 4:break;default:printf("OK");}

A. 0
B. 3
C. OK
D. 没有任何输出

Part A Short conversations[音频]1.

A. The man wants to knowwhy action movies appeal to Peter so much.
B. Peter spends to much of his spare time watching movies.
C. The woman expects her son to study more than he can handle.
D. Peter doesn’t study hard enough.

答案查题题库