cppforever.com

sizeof

The operator sizeof returns the size of the type or variable in bytes.

Example:

int n_short

sizeof(int)
sizeof n_short
sizeof(n_short)