• 2022-06-04
    有如下程序: void main() { int x=1,a=0,b=0; switch (x) { case 0: b++; break; case 1: a++; break; case 2: a++;b++; break; } printf("a=%d,b=%d",a,b); }