使用 math.h 或 cmath 头文件中的函数,表达式 pow(10, 3) 的结果的值为 1000、类型为 int。
math.h
cmath
pow(10, 3)
1000
int
正确 √
错误 ×