abs
Returns the absolute value of its integer argument.
Library:LibC
Classification:ANSI
Service:General C Services
Syntax
#include <stdlib.h>
int abs (
int j);
Parameters
- j
-
(IN) Specifies an integer argument.
Return Values
Returns the absolute value of its integer argument.