赞题库-背景图
问答题

以下程序段运行后的输出结果是(     )。
int a=2,b=1,c=2;
if(a)
if(b<0) c=0;
else c++;
printf("%d",c);

【参考答案】

(1)
3