This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/imaxabs.c

12 lines
176 B
C

#include <stdio.h>
#include <inttypes.h>
void main( void )
{
intmax_t x, y;
x = -500000000000;
y = imaxabs( x );
printf( "imaxabs(%jd) = %jd\n", x, y );
}