05-02-2011, 06:50 PM
what is the difference between virual function and virtual inheritence
The purpose of virtual inheritence is to make behaviour of class like it direct base class.as in private inheritence only direct derived class can access the data members and functions.and in public,protected inheritence we can go deep in herarichy.
The purpose of virtual inheritence is to make behaviour of class like it direct base class.as in private inheritence only direct derived class can access the data members and functions.and in public,protected inheritence we can go deep in herarichy.
