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
What is the use of main function in c++?
How do you generate a random number in c++?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Which is best ide for c++?
What are friend functions in C++?
What it is and how it might be called (2 methods).
How do we balance an AVL Tree in C++?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
why is c++ called oops? Explain
Does a derived class inherit or doesn't inherit?
Explain one-definition rule (odr).
How static variables and local variablesare similar and dissimilar?
Why do we use double in c++?
What does catch(…) mean?
What is a vector c++?