← 查看本卷题目GESP C++ 1级2026年3月单选题 第8题 · 2 分下面C++代码执行后的输出是( )。 1 int i, tnt = 1;2 for (i = 0; i < 5; i++)3 tnt *= i;4 printf("%2d%2d\n", tnt, i);填写答案Acpp 24 5 Bcpp 10 5 Ccpp 0 4 Dcpp 0 5 提交答案详细解析这题不会 ← 上一题 第 62 / 405 题← → 键切题 下一题 →
下面C++代码执行后的输出是( )。 1 int i, tnt = 1;2 for (i = 0; i < 5; i++)3 tnt *= i;4 printf("%2d%2d\n", tnt, i);填写答案Acpp 24 5 Bcpp 10 5 Ccpp 0 4 Dcpp 0 5 提交答案详细解析这题不会