You are here:

C++/Functrions.

Advertisement


Question
What is the difference between function overloading and function overriding in c++?

Answer
Function overloading is giving the function same name but different types of parameters. Function call is made based on the type of parameter.
Function overriding is used in inheritance by virtual keyword . Where same function definition of the base class is used in the derived class.

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


rakshitha

Expertise

Difficult questions related to C .

Experience

C ,vc ,opc ,windows CE, ActiveX

Education/Credentials
Masters in electrical engineering

©2016 About.com. All rights reserved.