单项选择题
阅读程序,分析输出结果是( )。
#include
void main( )
{
int a=2,b=-1,c=2;
if(a)
if(b<0) c=0;
else c++;
printf("%d",c);
}
A.1B.0
C.2
D.3
点击查看答案&解析
相关考题
