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