• 2021-04-14
    #include main() {int x=1,y=0,a=0,b=0; switch(x) {case 1: switch(y) {case 0:a++;break; case1:b++;break;} case 2:a++;b++;break; case 3:a++;b++;break; default:a++;b++;} printf(“a=%d,b=%d”,a,b);} A.a=1,b=0 B.a=2,b=1 C.a=1,b=1 D.a=2,b=2 以上程序的输出是