USHRT_MAX - C limits.h

C examples for limits.h:USHRT_MAX

Type

Macro

Description

Maximum value for an object of type unsigned short int. 65535 (2^16-1) or greater*

Demo Code

#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;
}

Related Tutorials