以下程序输出结果是#includeint main(){ int x=1,y=0,a=0,b=0;switch(x){ case 1: switch(y){ case 0: a++;break;case 1: b++;break;}case 2: a++;b++;break;}printf(“a=%d,b=%d”,a,b);}
单选题
以下程序输出结果是#includeint main(){ int x=1,y=0,a=0,b=0;switch(x){ case 1: switch(y){ case 0: a++;break;case 1: b++;break;}case 2: a++;b++;break;}printf(“a=%d,b=%d”,a,b);}