Write short notes Function overloading in C++.
Answers
Answered by
0
In these program we were repeating the function name same as in all the program -
For example-
Class t1
{
Public void xyz(int a , int b)
{
Area of a rec= a×b;
Sopln(area);
}
Public void xyz(int c)
{
ar of a sq=a*a
Sopln(ar);
}
}
}
Kind of information if a short note came in exam write program it contains maximum marks definition contain only one or two marks . So that examiner would be satisfied with ur ans and he/she will give u full marks
Hope u like my ans!!!
Similar questions