Question: what is fabs in c?
Answer: The fabs() function takes a single argument (in double ) and returns the absolute value of that number (also in double ). [Mathematics] |x| = fabs(x) [In C programming] To find absolute value of an integer or a float, you can explicitly convert the number to double.