Answer Posted / rasool
Ningu, its not necessary that the functions 'must' differ
in the :No of parameters passed
:order of the parameter passed
:the type of the parameter.
say, I have a function Add(int a , int b)
I still can have a function Add(int*a,int*b).
Function overloading is type of polymorphism in C++.i.e
multiple forms of the same function(methods).Function
overloading comes under compile time polymorphism.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is data hiding c++?
Is nan a c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Write about an iterator class?
Write syntax to define friend functions in C++.
What is the best it certification?
Why do we use structure in c++?
What are c++ storage classes?
write a programme to get a character and thier ASCII value
How did c++ get its name?
What it is and how it might be called (2 methods).
Is swift faster than go?
Keyword mean in declaration?
How is c++ used in the real world?
How would you implement a substr() function that extracts a sub string from a given string?