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 enum c++?
What is switch case in c++ syntax?
What is the best book for c++ beginners?
Differentiate between structure and class in c++.
Write a note about the virtual member function?
Explain container class.
Which programming language is best?
What is the difference between prefix and postfix versions of operator++()?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
What is the difference between the indirection operator and the address of oper-ator?
How to implement is-a and has-a class relationships?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What are inline functions? What is the syntax for defining an inline function?
Explain rethrowing exceptions with an example?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.