Object Sizes in Multi level Inheritance
Explore how object sizes are determined in multi level inheritance. Learn that an object's size includes its own data members plus those of its base classes, regardless of member accessibility, using C++ examples to clarify.
We'll cover the following...
We'll cover the following...
Problem
Write a program that throws light on object sizes in multi level inheritance.
Coding solution
Here is a solution to the problem above.