C examples for limits.h:USHRT_MAX
Macro
Maximum value for an object of type unsigned short int. 65535 (2^16-1) or greater*
#include <iostream> #include <limits.h> using namespace std; int main()/*w w w. j av a2 s . c o m*/ { cout << USHRT_MAX; return 0; }