写出下面程序输出结果

数据代码2 代码如下: #include <stdio.h> int main(){ int x=1, y=0 ,a=0, b=0; switch(x) { case 1: //此时X=1,进入case1; switch(y) { case 0:a++;//此时y=0,进入case0;,a++后break跳出switch(y) case 1:b++; } case 2: a++;//因为 swit
相关文章
相关标签/搜索