若有定义:double x;,则表达式IX=0,x+10,x+十的值是( )。
A.11.0
B.10.0
C.0.0
D.1.0、
第1题:
若有定义:floatx=3.5,y=3.6;则表达式()的值为6。
A.(int)x+(int)y
B.x+y
C.(int)(x+y)
D.int(x+y)
第2题:
若有定义语句:int x=10;,则表达式x-=x+x的值为________。
A.-20
B.-10
C.0
D.10
第3题:
若有定义语句:int x=10;,则表达式x -= x + x的值为()。
A.-20
B.-10
C.10
D.0
第4题:
若有定义语句:int x=10; ,则表达式x - = x + x的值为()。
A.-20
B.-10
C.0
D.10
第5题:
若有定义语句:int x=10; ,则表达式x-=x+x的值为()
A.0
B.-20
C.-10
D.10