Skip to main content

Over-riding Functions in C++

Body

Over-riding functions in C++

In this tutorial you will learn: 1. What is over-riding of a function? 2. Why to over-riding a function? 3. How to over-ride a function in a program? 4. Basic C++ syntax What is meant by over-riding a function? By over-riding a function it means that we add some extra functionality in the function which is present in the derived class and that function has the name same as that of the base class function. By overriding a function we basically redefine a function in the derived class that is already present in the base class. Why to over-ride a function

Comments

Submitted bySmithd94 (not verified)on Tue, 08/05/2014 - 15:49

Good writeup, I am normal visitor of one's site, maintain up the excellent operate, and It's going to be a regular visitor for a long time. dgdfedddeakbeakc

Add new comment

Code File
File attachments
Screenshot