有以下程序main(){ int a=0,b=0,c=0,d=0;if(a=1)
2023-11-20 170次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]有以下程序
main()
{ int a=0,b=0,c=0,d=0;
if(a=1) b=1;c=2;
else d=3;
printf(" % d, % d, % d, % d/n",a,b,c,d);
}
程序输出
A.)0,1,2,0
B.)0,0,0,3
C.)1,1,2,0
D.) 编译有错
本题链接: