C++ Standard Library C++ STL Library
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

C++ - <cstddef> (stddef.h)



The C++ <cstddef> header defines several types and macros. Many of these definitions also appear in other header files. These types and macros are available to use in a current program after including the header file using - #include <cstddef> or #include <stddef.h>. All types and macros of this header file are listed below:

Library Types

TypesDescription
ptrdiff_t Signed integer type of the result of difference of two pointers.
size_t Unsigned integer type.
nullptr_t Null pointer type.

Library Macros

Macro constants

MacrosDescription
NULL Null pointer.

5