Consider the sample code given below and answer the question that
follows.
class Grandpa
{
} ;
class Ma : virtual public Grandpa
{
} ;
class Pa : virtual public Grandpa
{
} ;
class Me : public Ma, public Pa, virtual public Grandpa
{
} ;
How many instances of Grandpa will each instance of Me contain?
Correct Answer: 1
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C++ MCQ Questions