stddef.h - including size_t and the sizeof operator

Introduction

Introduction

imported via other libaries, so don’t need to directly call

size_t and the sizeof operator


int x = 1;
size_t x = sizeof(x);

size_t y = sizeof(int);

\(sizeof\) operator is calculated at compile time. \(sizeof\) is in base C, but the data type \(size\_t\) is not, and requires the stddef.h header.

NULL