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 setiosflags c++?

510


What is vector processing?

639


By using c++ with an example describe linked list?

572


What is operator overloading in c++ example?

620


Which coding certification is best?

545






What is static function? Explain with an example

535


Difference between inline functions and macros?

569


When does a name clash occur in c++?

688


What is a c++ vector?

567


What is an iterator class in c++?

573


Can we use this pointer in a class specific, operator-overloading function for new operator?

587


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

806


Explain the concept of memory leak?

594


What is difference between array and vector in c++?

544


Why was c++ created?

525