Function overloading is a feature in C++ where two or more functions can have the same name but different parameters.
Function overloading can be considered as an example of polymorphism feature in C++.
Following is a simple C++ example to demonstrate function overloading.
Here is int 10 Here is float 10.1 Here is char* ten
- Function overloading and return type
- Functions that cannot be overloaded in C++
- Function overloading and const keyword
- Function Overloading vs Function Overriding in C++
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.