How much memory does an empty class object take?
Explanation
According to the standard, the size of an object cannot be equal to 0, so the size of an object is equal to the size of 1 char.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes