int x=2, y=-1, z=2; if (x<y) if z="0;" else z+="1;"> A、3
B、2
C、1
D、0
B、2
C、1
D、0
voidmain()include<stdi0.h>
voidmain()
{intx=1,y=2,z=3;
if(x>y)
if(y<z)print{("%d",++z);
elseprintf("%d",++y);
printf(”%d\n”,x++);
}
程序的运行结果是()。
A.331
B.41
C.2
D.1
A、2、2、2
B、2、0、2
C、2、2、0
D、0、2、0
A.331
B.41
C.2
D.1
A.3
B.2
C.1
D.0
B、1.000000
C、0.000000
D、0.500000
#include
main()
{ int x=1,y=0;
if(!x) y++;
else if(x==0)
if (x) y+=2;
else y+=3;
printf("%d\n",y);
}
程序运行后的输出结果是
A)3
B)2
C)1
D)0
#inclUde
main()
{int x=1。y=0;
if(!x)y++;
else if(x==0)
if(x)y+=2;
else y+=3; .
printf(“%d\n”,y);
}
程序运行后的输出结果是
A.3
B.2
C.1
D.0
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!