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

Follow CodeGalaxy

Mobile Beta

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