选择题1.0分
C试卷
有如下程序
main0
{ int a=2,b=-1,c=2;
if(a<c)
if(b<0) c=0;
else c++
printf(“%d\n”,c);
}该程序的输出结果是

A0

B1

C2

D3

正确答案及相关解析

正确答案

C