所属知识点:数学库常用函数(三角/对数/指数) 难度要求:— 考频:—
cout << (int)exp(2) << endl;
正确答案:B
exp(2)=e²≈7.389,(int) 截断为 7,选 B。……
想系统刷完 GESP C++ 1~8 级真题,并查看每道题的逐题精讲?