What happens if the base and derived class contains definition of a function with same prototype?
- Base class object and derived class object will call their own functions
- Compiler reports an error on compilation.
- Only derived class function will get called irrespective of object.
- Only base class function will get called irrespective of object.