UINT16_MAX Constant

stdint.h

#define UINT16_MAX (65535U)

Maximum value of an unsigned 16-bit integer.

This is the maximum value that an unsigned 16-bit integer can contain.