单选题
以下程序的输出结果是( )。
main()
{int x=2,y=-1,z=2;
if(x<y)
if(y<0)z=0;
else z+=1:
printf("/%d\n",z);
}
A.3 B.2 C.1 D.0
A
B
C
D
【正确答案】
B
【答案解析】
提交答案
关闭