[单选题]

有如下程序main() { int a=2,b=-1,c=2; if(a<b) c=1; if(b<0)c=0; else c++; printf("%d\n",c);}该程序的输出结果是

A.0

B.1

C.2

D.3

参考答案与解析: