0
What due you mean by overload
2 Answers
+ 4
OO7 Manish kumar .M
C++ Overloading (Function and Operator) If we create two or more members having the same name but different in number or type of parameter, it is known as C++ overloading
The parameters should follow any one or more than one of the following conditions for Function overloading:
1.parameters should have a different type
add(int a, int b)
add(double a, double b)
2.parameters should have a different number
add(int a, int b)
add(int a, int b, int c)
3.parameters should have a different sequence of parameters.
add(int a, double b)
add(double a, int b)