有以下程序:#include <stdio.h> ma

有以下程序:

#include <stdio.h>
main()
{
int a=1,b=0;
if(--a) b++;
else if(a==0) b+=2;
else b+=3;
printf("%d\n",b);
}

程序运行后的输出结果是( )。

答案
C

题目信息

题号:4720
题型:单选题
难度:普通