2.13.6.3 labs

Declaration:

long int labs(long int x);

Returns the absolute value of x. Not that in two’s compliment that the most maximum number cannot be represented as a positive number. The result in this case is undefined.

The absolute value is returned.