Queries size of the object or type.
Used when actual size of the object must be known.
Syntax
sizeof( type ) (1) sizeof expression (2)
Both versions return a value of type size_t.
Explanation
1) Returns the size, in bytes, of the object representation of type
2) Returns the size, in bytes, of the object representation of the type of expression
Notes
Depending on the computer architecture, a byte may consist of 8 or more bits, the exact number provided as CHAR_BIT.
si