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 constant of type std::size_t.
Explanation
1) returns size in bytes of the object representation of type.
2) returns size in bytes of the object representation of the type, that would be returned by expression, if evaluated.
Notes
Depending on the computer architecture, a byte may consist of 8 or more bits, the exact