下面C++代码执行后的输出是30,则横线处不能填入( )。
int a=10,b=20,c=30; cout << _____________________ << endl; cout << endl;
- A. max(max(a, b), c)
- B. min(a+b, c)
- C. sqrt(a+b+c)
- D. (a+b+c)/2
正确答案:C
int a=10,b=20,c=30; cout << _____________________ << endl; cout << endl;
正确答案:C
想系统刷完 GESP C++ 1~8 级真题,并查看每道题的逐题精讲?
进入 GESPPASS 开始练习