Computer Science, asked by vineethavij2174, 1 year ago

What is the difference between abs() and fabs() functions?

Answers

Answered by appidikushalpcpjsm
0

Answer:

The only difference between both of them is, abs() is used to calculate the absolute value for integer type numbers whereas fabs() are used for floating type numbers. abs() function is use under the library file <stdlib.h> and fabs() function is use under the library file <math.h>

Explanation:

Similar questions