单项选择题

如下程序的输出结果是

main( )

int a=2,b=-1,c=2;

if(a<B)

if(b<0)c=0

else c++;

cout<<c<<endl;

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