Under what conditions is multiple inheritance not recommended?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function that swaps the values of two integers, using int* as the argument type?

602


Write a program to find the Fibonacci series recursively.

601


Why namespace is used in c++?

598


Is c++ free?

580


When is the copy constructor called?

627






What is the use of "new" operator?

655


Write a program to show polymorphism in C++?

624


How can a struct in c++ differs from a struct in c?

608


What is ofstream c++?

583


How is objective c different from c++?

789


What is the default width for ouputting a long integer using the insertion operator?

685


What are c++ tokens?

590


How can I disable the "echo" feature?

604


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

1739


What is c++ iterator?

639