Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > sizeof

sizeof

Example: sizeof

Returns the number of bytes of the given expression or type. The result size_t, is of an unsigned integer type.

size_t sizeof expression

or

size_t sizeof (type)