What is Virtual Inheritance?

Answer Posted / swetcha

Virtual inheritance is used to avoid multiple copies of a
base class in a multiple-inherited object. However, there
are cases where multiple copies of a base are needed in a
derived class. In such cases, virtual inheritance is
intentionally avoided

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ vb?

866


What happens when the extern "c" char func (char*,waste) executes?

875


Explain the differences between list x; & list x();.

788


What are arrays c++?

843


What is polymorphism in c++? Explain with an example?

822


Define anonymous class.

829


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

874


What is function overloading in C++?

1117


Write a program to show polymorphism in C++?

860


Can comments be longer than one line?

831


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

812


Are iterators pointers?

919


How many types of modularization are there in c++?

799


What is the full form of india?

801


How to access a variable of the structure?

803