On 20 Aug 2004 12:56:34 -0700,
sw************@yahoo.co.in (Sweety)
wrote:
hello,
why sizeof an empty class why 1 byte ?
plz illustrate this ?
bye
Everything must have a different address in memory, otherwise there
are big possibilities for confusion with pointers, references and
suchlike. Hence even an empty class takes up one byte so the next
thing you declare will have a different address.
rossum
--
The ultimate truth is that there is no Ultimate Truth