A.5.5
B.55
C.5.5
D.55
[单选题]若有定义:int a=4,b=5;float x=3.4,y=2.1;,则下列表达式的值为( )。(float)(a+b) /2+(int)x%(int)yA.5.5B.55C.5.500000D.55.00000
[单选题]若有定义:int a=4,b=5;float x=3.4,y=2.1;,则下列表达式的值为( )(float) (a+b)/2+(int)×%(int)yA.5.5B.55C.5.500000D.55.00000
[单选题]若有定义: int a=7;float x=2.5,y=4.7;则表达式x+a%3,(int)(x+y)%2/4的值是( )。A.2.5B.2.75C.3.5D.0
[单选题]若有定义 : float x=1.5; int a=1,b=3,c=2; 则正确的 switch 语句是A.)switch(x){ case 1.0: printf("*/n");case 2.0: printf("**/n");}B.)switch((int)x);{ case 1: printf("*/n");case 2: printf("**/n");}C.)switch(a+b){ case 1: printf("*/n");case 2+1: printf("*
[单选题]若有如下程序段; int x=3,y=4,z;float a=2.0; z=y%x/a; 则执行后,z中的值是( )A.4B.3C.0D.0.5
[单选题]若有定义“int x=4,y=5”,则表达式“y>x++?x--:y++”的值为( )。A.3B.4C.5D.6
[单选题]若有定义“int x=4,y=5;”,则表达式“y>x++?x--:y++”的值为( )。A.3B.4C.5D.6
[单选题]若有定义:float x=1.5;int a=1,b=3,c=2;则正确的switch语句是( )。A.switch(x)B.switch((int)x); {case 1.0:printf("*/n"); {case 1:printf("*/n"); case 2.0:printf("**/n");} case 2:printf("**/n");}C.switch(a+B)D.switch(a+B){case 1;printf("*/n"); {case 1:printf(
[单选题]若有定义:float x=1.5;int a=1,b=3,c=2;则正确的switch语句是( )。A.switch(x) {case 1.0:printf("*/n"); case 2.0:printf("**/n");}B.switch((int)x); {case 1:printf("*/n"); case 2:printf("**/n");}C.switch(a+B){case 1:printf("*/n"); case 2+1:printf("**/n");}D
[单选题]若有定义:float x=1.5;int a=1,b=3,c=2;,则正确的switch语句是A.switch(x) {case 1.0:printf("*/n"); case 2.0:printf("**/n");}B.switch((int)x); {case 1:printf("*/n"); case 2:printf("**/n");}C.switch(a+B) {case 1:printf("*/n"); case 2+1:printf("**/n");}D.s