How much memory does an empty class object take?
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
Sign Up Now
or Subscribe for future quizzes