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 Loop function? What are different types of Loops?

929


the first character in the variable name must be an a) special symbol b) number c) alphabet

859


What do you mean by volatile and mutable keywords used in c++?

791


What are inline functions? What is the syntax for defining an inline function?

847


What are the two types of comments, and how do they differ?

816


What is c++ similar to?

865


Evaulate: 22%5 a) 2 b) 4 c) 0

885


Is c++ free?

835


what is upcasting in C++?

960


What are the 3 levels of programming languages?

805


What is the advantage of c++ over c?

785


What are the various compound assignment operators in c++?

753


Is c++ faster than c?

813


What is purpose of abstract class?

828


Explain what are mutator methods in c++?

811