单选题
C语言
题号 #3247811
有以下程序:
#include <stdio.h>
main( )
{int a=2,b=-1,c=2;
if(a<B.
if(b<0) c=0;
else c+=1;
printf("%d\n",c);
}
程序的输出结果是( )
参考答案
C
答案解析
暂无解析
你可能感兴趣的试题
1
有以下程序
#include <stdio.h>
main( )
{int w=4,x=3,y=2,z=1;
printf("%d\n",(w<x?w:z<y?z:x));
}
程序的输出结果是( )
#include <stdio.h>
main( )
{int w=4,x=3,y=2,z=1;
printf("%d\n",(w<x?w:z<y?z:x));
}
程序的输出结果是( )
A.1
B.2
C.3
D.4
A.14
B.16
C.18
D.20
A.0和1
B.0和20
C.10和1
D.10和20