下面程序的输出结果是(   ).
#include
using namespace std;
int main()
{
int a=2,b=-1,c=2;
if (a
  if (b<0) c=0;
else c+=1;
cout <
return 0;
}
A、0
B、1
C、2
D、3