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
Write about c++ storage classes?
What does flush do?
What is a base class?
What is object oriented programming (oop)?
What is the use of object in c++?
Why do we need templates?
Can a new be used in place of old mallocq? If yes, why?
Explain explicit container.
What will the line of code below print out and why?
Why is c++ not purely object oriented?
What is the difference between new() and malloc()?
What is this pointer in c++?
How to declare a pointer to an array of integers?
Do you know the problem with overriding functions?
Which programming language is best to learn first?