以下程序运行后,c的值是intc = 0, k;for(k = 1; k < 3; k++){switch (k){default: c += k;case 2: c++; break;case 4: c += 2; break;}}

时间:2022-11-16 08:48:51

相似题目