全国计算机等级考试二级 模拟试卷第97套(2026年10月)

共60题 | 满分100分 | 考试时间120分钟

0
已答题
60
未答题
单项选择题第 1 题 / 共 40 题每题 1.5 分

以下哪种情况不会导致 if-else 条件嵌套的语法错误?

Aif (a) { if (b) printf("yes"); }
Bif (a) { else { printf("no"); } }
Cif (a) { if (b) { printf("yes"); } else { printf("no"); } }
Dif (a) { else if (b) printf("yes"); }