+ 4
Overloading
what is the meaning of Overloading a function name?
4 odpowiedzi
+ 16
did you mean function overloading.
function overloading means 2 or more function haveing same name but diffrent in argument
eg :
void hello(){
}
void hello(int a)
{
}
+ 10
it's when you use the same class name twice for different functions
+ 4
here is a quick start for you 👇
https://www.sololearn.com/learn/CPlusPlus/1640/
+ 1
when we use a same function name to create a family of or many functions which does different tasks is Know as overloading of function .. All the functions will have a same name but their arguments would be different
ex -
int square(int a , int b );
int square (int a );