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 a rooted hierarchy?

677


What are 2 ways of exporting a function from a dll?

611


Is java made in c++?

579


what is the use of void main() in C++ language?

638


What is the most common mistake on c++ and oo projects?

517






Can you Mention some Application of C/C++?

623


What are the two types of comments?

570


What is the basic difference between C and C++?

622


What is the purpose of templates in c++?

563


How do you sort a sort function in c++ to sort in descending order?

554


Why is polymorphism useful?

563


Is multimap sorted c++?

557


What are manipulators in c++ with example?

579


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

675


What is general form of pure virtual function? Explain?

509