Standard C Functions


abs


Syntax

#include <stdlib.h>
int abs(int n);

Arguments

n      value of integer

Return Value

The absolute value for n 

Description

It returns the absolute value of a specified integer.