寫出下面程序輸出結果

數據代碼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
相關文章
相關標籤/搜索