The sizeof
operator computes the number of bytes required by an
object. For example, sizeof(char)
, produces the number of bytes
required by a character object.
Use the sizeof
operator to determine the number of bytes
occupied on your computer by a box
object and by a pointer
to a box
object.