Why the size of empty Class is one byte?

Why the size of empty Class is one byte?

Everything must have a diff address in memory, otherwise there are very confusion with pointers. Hence even an empty class takes up one byte so the next thing we declare will have a different address.

By:UMANG
Date:2001-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher