What is Function Overloading?


Function Overloading


In function overloading, the same function label can be used for assorted implementations. Compiler choose the correct implementation based on style of arguments or based on amount of arguments or based about return type.

Function Overloading Example


Function overloading may be a feature in C++ where two or more functions can have an equivalent name but different parameters.

Function overloading are often considered as an example of polymorphism feature in C++.

Post a Comment

0 Comments