题库首页 › GESP等级认证(C++) › 题目 21167

当输入 6 时,下列程序的输出结果为( )。 #include using namespace std; int f(int n) { if (n > n; cout << f(n) << endl; return 0; }

A. 14
B. 27
C. 28
D. 15

正确答案:B

试卷来源:202512 CCF-GESP编程能力等级认证C++八级真题

本卷相关题目

在线做题 同科目题库