Function overloading in c++ and OOP with examples

By: Prof. Fazal Rehman Shamil
Last modified on May 27th, 2019

Function overloading in c++ and OOP with examples

In this tutorial, we will learn about the followings;

What is function overloading?

Function overloading is a technique that allows to define and use more than one functions with the same scope and same name. But each function has a unique, which can be derived from the followings;

  1. argument type
  2. function name
  3. Total number of arguments
  4. Sequence of arguments
  5. Name of arguments
  6. return type.
Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)