Computer Science, asked by gayanabr419, 4 months ago

explain function overloading with example​

Answers

Answered by aditya120411kumar
2

Explanation:

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) which is different from the function myfuncn(float a, int b) parameter list (float, int). Function overloading is a compile-time polymorphism.

Answered by nishabudaniya24
0

Explanation:

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)

hope you are geting this if yes please make me brainlist and follow me

Similar questions