单选题

下列程序的输出结果是(     )。

#include

main()

{ int a=3,b=2,C=1;

if(a

if(b<0)c=0;

else c++:

printf("%d\n",c);

}

【正确答案】 C
【答案解析】