Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
Varun Kumar Rai
13 Oct, 2019 1:07 PM
Yes, Size of an empty class is not zero. It is 1 byte generally. It is nonzero to ensure that the two different objects will have different addresses.