使用 cmath 或 math.h 中的数学库函数,下列说法中正确的是( )。
- A.
pow(2, 3)的返回值类型为int - B.
sin(30)的参数30表示30度 - C.
sqrt(4)的返回值类型为int - D.
log(1)的返回值为0.0,且类型为double
g7-02567.in输出g7-02567.out使用 cmath 或 math.h 中的数学库函数,下列说法中正确的是( )。
pow(2, 3) 的返回值类型为 intsin(30) 的参数 30 表示 30 度sqrt(4) 的返回值类型为 intlog(1) 的返回值为 0.0,且类型为 double