My 2 Cents Function Overloading

Swati Mishra

Content Writer
Function overloading is the process of using the same name for two or more functions. Each redefinition of a function must use the different type of parameters, sequence of parameters, or number of parameters. The number, type or sequence of parameters for a function is called the function signature. When we have multiple functions with the same name, the compiler identifies the function based on the parameters to the function.


Void add (int);
Void add (int, float);
From above example the two function named add () are different since their signatures are different.

Pooja Sharma

Well-Known Member
This is a feature for languages like C, C++, C# etc. In a program a class may have same functions multiple times but their parameters would be different. This changes the output of the function. There are several advantages of using function overloading and one of them is you can use same function multiple times.


White Belt
Function overloading reduce the programmer burden to write a function again and again if minor changes occur. Example - If function overloading is not there then we have to write for separate function for drawing a circle, rectangle , square etc. But these operation can perform by only one function using function overloading.