Under what conditions is multiple inheritance not recommended?



Under what conditions is multiple inheritance not recommended?..

Answer / ackmed

If you derive from more than one base classes with the same
parent, then that parent should be a virtual base class.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C++ General Interview Questions

Does c++ vector allocate memory?

0 Answers  


What is an inline function in c++?

0 Answers  


Differentiate between declaration and definition.

0 Answers  


When should I use unitbuf flag?

0 Answers  


Explain function overloading and operator overloading.

0 Answers  


What are the types of container classes?

0 Answers  


What is lazy initialization in c++?

0 Answers  


Why preincrement operator is faster than postincrement?

5 Answers  


Can we define function inside main in c++?

0 Answers  


What is a float in c++?

0 Answers  


What are vtable and vptr?

0 Answers  


When a function is made inline. Write the situation where inline functions may not work.

2 Answers  


Categories