What is Virtual Inheritance?

Answer Posted / sandeep mannarakkal

Virtual inheritance is used for creating an a class (portion in the derived object ) as first. Once this object portion got created then compiler insert a offset to the remaining portion of the object for identifying the virtual portions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called array?

624


What is Destructor in C++?

641


Describe friend function & its advantages.

717


Why do we use structure in c++?

580


What is boyce codd normal form in c++?

698






Describe about storage allocation and scope of global, extern, static, local and register variables?

739


What is the best c++ compiler for windows 10?

582


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

557


Which format specifier is used for printing a pointer value?

583


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

707


What is function overloading in C++?

737


Define what is constructor?

590


What is data structure in c++?

665


What are different types of loops in c++?

660


Explain this pointer?

587