�Function overriding is a feature that allows us to have a same function in child class which is already present in the parent class. A child class inherits the data members and member functions of parent class, but when you want to override a functionality in the child class then you can use function overriding. It is like creating a new version of an old function, in the child class.
Note: In function overriding, the function in parent class is called the overridden function and function in child class is called overriding function.
�To call the overridden function from the child class object create a reference for the base class using this reference one can call the base class overridden function.