- 0of 0 votes
How can we call base class function in below scenario:- ermksharma2009 September 25, 2015 in India
virtual void fun()
class Derived : Public Base
Base *obj = new Derived();
Here how can we call the Base class function "fun()", when Base class pointer is pointing to derived class object.
| Report Duplicate | Flag | PURGE
Open Chat in New Window