使用 cmath 或 math.h 中的数学库函数,下列说法中正确的是( )。
cmath
math.h
pow(2, 3) 的返回值类型为 int
pow(2, 3)
int
sin(30) 的参数 30 表示 303030 度
sin(30)
30
sqrt(4) 的返回值类型为 int
sqrt(4)
log(1) 的返回值为 0.0,且类型为 double
log(1)
0.0
double