单项选择题

若有定义intx=3,y=2和floata=2.5,b=3.5,则表达式(x+y)%2+(int)a/(int)b的值是()。

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