C examples for limits.h:INT_MAX
Macro
Maximum value for an object of type int. 32767 (2^15-1) or greater*
#include <iostream> #include <limits.h> using namespace std; int main()// ww w . jav a 2 s. c o m { cout << INT_MAX; return 0; }