若有定义:float x=3.5,intz=8;则表达式x+z%3/4的值为()
第1题:
A.3
B.4
C.5
D.9
第2题:
A.3.75
B.3.5
C.3
D.4
第3题:
A.1
B.0
C.3
D.4
第4题:
若有定义:int a=2,b=3;float x=3.5,y=2.5;则下面表达式的值为______。(float)(a+b)/2+(int)x%(int)y
A.3.5
B.35
C.3.5
D.35
第5题:
有函数illI m(float x){floal 2;z=。;rehJrn(z);l用n=m(3 5);调用.则返回值是()
第6题:
若有定义:int x=3,y=4;则表达式!x||y的值为()
第7题:
若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()
第8题:
设 x = 1 ,y = 2 , z = 3, 则表达式 y+=z--/++x 的值是()
第9题:
若有定义:int x,a;则语句x=(a=3,a+1);运行后,x、a的值依次为()
第10题:
3.75
3.5
3
4
第11题:
4
3.5
2.5
3
第12题:
3
4
5
6
第13题:
A.3.5
B.3.0
C.2.5
D.2.0
第14题:
A.
B.
C.
D.
第15题:
若有定义:int a=4, b=5;float x=3.4,y=2.1;,则下列表达式的值为( )。 (float) (a+b)/2+(int)x%(int)y
A.5.5
B.55
C.5.5
D.55
第16题:
若有以下定义:
char a;int b;
float c;double d;
则表达式a*b+d-c值的类型为( )。
A.A. float
B.int
C.char
D.double
第17题:
x为int型,s为float型,x=3,s=2.5。表达式s+x/2的值为()。
第18题:
若有定义:int b=7;floata=2.5,c=4.7;则表达式a+(b/2*(int)(a+c)/2)%4的值是()
第19题:
假设变量定义int x=1,y=2,z=3;则表达式y+=z--/++x的值是()。
第20题:
若有定义:int a=2,b=3;floatx=3.5,y=2.5;则表达式(float)(a+b)/2+(int)x%(int)y的值是()
第21题:
3.5
3.0
2.5
2.0
第22题:
3
3.5
4
5
第23题:
1
0
3
4