#include <stdlib.h>
long long llabs(long long int n);
The llabs() function calculates the absolute value of its long long integer argument n. The result is undefined when the argument is equal to LONGLONG_MIN, the smallest available long long integer (-9 223 372 036 854 775 808). The value LONGLONG_MIN is defined in the limits.h header file.
The llabs() function returns the absolute value of the long long integer argument n.