单选题
👁️ 浏览量:

试题题干

计算整型绝对值的函数是()

A

abs()

B

labs()

C

floor()

D

fabs()

参考答案

正确答案:

试题解析

函数int abs(int x)的返回值是返回整数x的绝对值。