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
Can we use this pointer inside static member function?
explain the reference variable in c++?
What are the various access specifiers in c++?
What is pointer with example?
Can you sort a set c++?
Define the process of handling in case of destructor failure?
Can I make ios apps with c++?
What is doubly linked list in c++?
What is atoi in c++?
How do you master coding?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Can you write a function similar to printf()?
What is array in c++ pdf?
What is the role of C++ shorthand's?
Difference between inline functions and macros?