有下列程序:include<stdio.h>main(){ int a=6,b=7,m=1;switch(a%2){ case 0:m++;break;case 1:m++;switch(b%2){ defaut:m++;case0:m++;break;}}printf("%d\n",m);}程序运行后的输出结果是()。

A.1 B.2 C.3 D.4

时间:2023-03-19 10:59:29

相似题目