当前位置:首页 > 查试题
>
写出下面程序的输出结果include<br>int main()<br>{<br>int x=1, y=0, a=0, b=0;<br>switch(x)<br>{<br>case 1:<br>switch(y)<br>{<br>case 0: a++;<br>case 1: b++;<br>}<br>case 2: a++;<br>b++;<br>}<br>printf(“a=%d, b=%d