#include <stdio.h> int main() { int s = 0, n; for (n = 0; n < 4; n++) { switch (n) { default: s += 4; case 1: s += 1; case 2: s += 2; case 3: s += 3; } } printf("%d\n", s); return 0; }
则程序的输出结果是?
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题