+ 4

Overloading

what is the meaning of Overloading a function name?

3rd Jun 2018, 4:21 PM
sayed sayed
sayed sayed - avatar
4 Respuestas
+ 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) { }
12th Jun 2018, 9:18 AM
Vijay(v-starūüĆü)
Vijay(v-starūüĆü) - avatar
+ 10
it's when you use the same class name twice for different functions
3rd Jun 2018, 4:26 PM
Vincenzinho
Vincenzinho - avatar
+ 4
here is a quick start for you ūüĎá https://www.sololearn.com/learn/CPlusPlus/1640/
3rd Jun 2018, 4:28 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 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 );
4th Jun 2018, 7:12 AM
Aveek Bhattacharyya
Aveek Bhattacharyya - avatar