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 the best c++ ide?
What is a block in c++?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
How can you quickly find the number of elements stored in a static array?
What is c++ and its features?
Define token in c++.
What is the use of map in c++?
How many types of classes are there in c++?
Define Virtual function in C++.
What is searching?
What is the use of endl?
You run a shell on unix system. How would you tell which shell are you running?
Explain the different access specifiers for the class member in c++.
What is a rooted hierarchy?