Object Oriented Programming2080.15 marksFunction overloading
What is function overloading? Explain with an example.
What is function overloading? Explain with an example. [5]
Function overloading is a feature in C++ (and other OOP languages) that allows multiple functions to have the same name but with different parameter lists (different number, type, or order of parameters). The compiler determines which function to call based on the arguments passed at the time of ...