单项选择题

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

A.0
B.1
C.2
D.3