+ 2
why do we need to declare the function as virtual? is there any limit on number of derived members that can call the function if it's not virtual?
2 Answers
+ 1
Virtual keyword is used in inheritance
+ 1
used for hybrid inheritance ....In which two base data members get inherited and confuses compiler ....