Virtual base classes are used in virtual inheritances. Using the word virtual before class represents that to avoid the multiple instances of a virtual inheritance. It means that we want that to be a single time. Virtual base class is analogous to vi...See more
rtual inheritance. It is used in 'Run time polymorphism' . Let us consider an example of w,x,y,z . W is derived from class x and y. here x and y are previously derived from z. It means multiple instances of inheritance.
Answer the Question