單項(xiàng)選擇題

若有定義intx=3,y=2和floata=2.5,b=3.5,則表達(dá)式(x+y)%2+(int)a/(int)b的值是()。

A.0
B.2
C.1.5
D.1

微信掃碼免費(fèi)搜題