问题 单项选择题

若有定义: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.500000
D.35.00000

答案

参考答案:C

填空题
单项选择题