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
Explain the volatile and mutable keywords.
What information can an exception contain?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
Explain bubble sorting.
Does c++ have arraylist?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is fixed in c++?
What is meant by a delegate?
What are the characteristics of friend functions?
How a macro differs from a template?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What is a stack? How it can be implemented?
What are member functions used in c++?
What is diamond problem in c++?
Do you know what are pure virtual functions?