SHRT_MAX Constant

limits.h

#define SHRT_MAX 0x7FFF

Maximal value which can be stored in a short int variable.