(15) 有以下定义语句 double a,b; int w; long c;
若各变量已正确赋值,则下列选项中正确的表达式是
A) a=a+b=b++ B) w%(int)a+b)
C) (c+w)%(int)a D) w=a==b;
C为什么对啊,BD又为什么对?
D
a,b 是double类型,如果 a b是0.1,就会出现除数是零了,就出错了,
D是对的,先判断,后赋值,这样允许的!
a,b 是double类型,如果 a b是0.1,就会出现除数是零了,就出错了,
D是对的,先判断,后赋值,这样允许的!
温馨提示:答案为网友推荐,仅供参考
第1个回答 2010-08-17
very funny, very strange. Your own way. The results of each play is different.
good enjoyable ah. Guwahati ha ha ha ha !!!!!
ha ha ha ha! ! !
I play off over the last stimulus
相关的主题文章:
Doudou tell you where the body is sick
Log 7
Palpable heighten
good enjoyable ah. Guwahati ha ha ha ha !!!!!
ha ha ha ha! ! !
I play off over the last stimulus
相关的主题文章:
Doudou tell you where the body is sick
Log 7
Palpable heighten
第2个回答 2010-08-16
c
第3个回答 2010-08-16
C