题目内容
(请给出正确答案)
[主观题]
有以下程序: #include<stdio.h>main() { int a=1,b=0; if(--a)b++; else if(a==0)b+=2
有以下程序:
#include<stdio.h>
main()
{ int a=1,b=0;
if(--a)b++;
else if(a==0)b+=2;
else b+=3:
print[("%d\n",b);
}
程序运行后的输出结果是()。
A.0
B.1
C.2
D.3
如搜索结果不匹配,请 联系老师 获取答案