单项选择题

假设a是int类型的变量,并初始化为1,则下列(   )是合法的条件语句? A.
if(a){} B.
if(a<<=3){}  C.
if(a=2){} D.
if(true){}

微信扫码免费搜题