题目内容
(请给出正确答案)
[多选题]
定义:int a=7; float x=2.5, y=4.7;则表达式 x+a%3*(int)(x+y)%2/-4 的值是__()
A.2.500000
B.2.000000
C.3.500000
D.0
答案
2500000
如果结果不匹配,请 联系老师 获取答案
A.2.500000
B.2.000000
C.3.500000
D.0
2500000
A.2.500000
B.2.750000
C.3.500000
D.0.000000
A.2.500OO
B. 2.7500OO
C. 2.3600OO
D. 2.0OO
A.0.000000
B.2500000
C.2.750000
D.3.500000
若有定义:“int a=7;float x=2.5,Y=4.7;"则表达式x+a 9/6 3*(int)(x+y)% 2/4的值是()。
A.2.500000
B.2.750000
C.3.500000
D.0.000000
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是
A.2.500000
B.2.750000
C.3.500000
D.0.000000
A.loat x[10];float *p=x
B.loat x[10];int *p=x
C.loat x[10];int *p=&x
D.loat x[10];float *p=&x
A.float x;y;
B.float x,y=3.14f;
C.public int i=100,j=2,k;
D.int i=100;int j=200;
若有定义: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