Inheritance case

In reply to verif_learner:

Hi I see this is as a classic example where virtual keyword makes the difference. If virtual keyword is added in the base class then you would see the code calling derived f1 else it would still call the func1 in base…

Siva