单项选择题
A、 a=2, b=1 B、 a=1, b=1 C、 a=1, b=0 D、 a=2, b=2
A、 break语句只能用于switch语句 B、 在switch语句中必须使用default C、 break语句必须与switch语句中的case配对使用 D、 在switch语句中,不一定使用break语句
A、 switch(x) case 1.0: printf("*\n"); case 2.0:printf("**\n"); B、 switch((int) x); case 1:printf("*\n"); case 2:printf("**\n"); C、 switch(a+b) case 1:printf("*\n"); case 2+1:printf("**\n "); D、 switch(a+b) case 1:printf("*\n"); case 2:printf("**\n");