如表達式的值與所有case後的常量表達式均不相同時,則執行default後的語句。 int main(void){. int a;. scanf("%d",&a);. switch (a){. case 1:printf ...
確定! 回上一頁