Synopsis
#include <limits.h>
#define INT_MAX processor-dependent-value
Description
INT_MAX is the maximum value for an object of type int.
For processors where an integer is held in 16 bits, INT_MAX is 32767, and for processors where an integer is held in 32 bits, INT_MAX is 2147483647.
Portability
INT_MAX conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).