Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <stdlib.h>
    int abs( int j );

Description:
    The abs function returns the absolute value of its integer argument j.

Returns:
    The abs function returns the absolute value of its argument.

Example:
    #include <stdio.h>
    #include <stdlib.h>

    void main()
      {
        printf( "%d %d %d\n", abs( -5 ), abs( 0 ), abs( 5 ) );
      }

    produces the following:

    5 0 5

Classification:
    ANSI

Systems:
    All, Netware

See Also:
    fabs, labs

See Also: fabs labs

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson