#include <stdlib.h>int abs(int num);
The abs( ) function returns the absolute value of num.
A related function is fabs( ).