单项选择题

有如下程序:
#include <stdio.h>
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