选择题
设变量x和y均已正确定义并赋值,以下if语句中,在编译时将产生错误信息的是______。
A、
if(x++);
B、
if(x>y&&y!=0);
C、
if(x>y)x—else y++;
D、
if(y<0){;}else x++;
【正确答案】
C
【答案解析】
提交答案
关闭