Computer Science, asked by zugholiswu, 8 months ago

is there a difference between ABS( ) and INT ( ) functions?

Answers

Answered by Anonymous
2

Basically, both is used to get the absolute value of the given value. abs() is used for Integer values whereas fabs() is used for floating type data. The C library function int abs(int x) returns the absolute value of int x.

Here is your answer-!!☺️

Similar questions