Computer Science, asked by glorioustigga123, 18 days ago

What is function overloading
Give one examples

Answers

Answered by BlackDevil592
2

Answer:

Function overloading is a C++ programming feature that allows us to have more than one function having same name but different parameter list, when I say parameter list, it means the data type and sequence of the parameters.

For example the parameters list of a function myfuncn(int a, float b) is (int, float)

Answered by SupremeStar
12

Function Overloading

In some programming languages, function overloading or method overloading is the ability to create multiple functions of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context.

Similar questions