问题描述:
[单选]
如下程序的运行结果是()int main(){ int a=2,b=1,c=0; if(a>=b){ switch(a++,b++) { case 1: c=a; case 0: c=b;break; default: c=0; } } printf("%d",c); return 0;}
A.2
B.0
C.1
D.3
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:对于循环语句while(1); 描述正确的是()。
下一篇:阅读程序,分析输出结果是()。void main(){ int x=0,a=1,b=1; switch(x) { case 0( ) a++; case 1( ) b++;break; case 2( ) a++;b++; } printf("a=%d,b=%d",a,b);}
- 我要回答: 网友(3.137.170.241)
- 热门题目: 1.在建立Microsoft O 2.人们的沟通风格各不相同,比如 3.架构与构架的区别是:架构框架