What is Virtual Inheritance?

Answer Posted / rakesh kumar

whenever there are two derived class derived from same base
class,when these two derived classes derive third derived
class which contain the properties of the 1st base class
twice.virtual class is use to avoid this.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ in english?

570


Explain the uses of static class data?

589


What is the importance of mutable keyword?

572


Is c++ primer good for beginners?

578


Why c++ is not a pure oop language?

549






What are c++ manipulators?

599


In the derived class, which data member of the base class are visible?

630


Differentiate between an inspector and a mutator ?

694


Difference between pointer to constant and constant pointer to a constant. Give example.

628


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

734


What is the difference between ++ count and count ++?

569


Can we specify variable field width in a scanf() format string? If possible how?

650


What is a base class?

595


Define the process of error-handling in case of constructor failure?

552


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2240