6.17.12 Limits of Integer Types for Pointer Objects

Macros that specify the minimum and maximum limits of the pointer-related types declared in <stdint.h>.

Include

<stdint.h>

Remarks

Each macro name corresponds to the <stdint.h> type with a similar name. The macro will expand to a constant expression suitable for use in #if preprocessing directives, and this expression shall have the same type as an object of the corresponding type converted according to the integer promotions.

TypeDescription
INTPTR_MINThe minimum value of a signed integer type capable of holding a pointer.
INTPTR_MAXThe maximum value of a signed integer type capable of holding a pointer.
UINTPTR_MAXThe maximum value of an unsigned integer type capable of holding a pointer.