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
Is c++ pass by reference or value?
Define pre-condition and post-condition to a member function in c++?
What are the vectors in c++?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
What is the use of default constructor?
Describe public access specifiers?
Which compiler does turbo c++ use?
List the issue that the auto_ptr object handles?
Implement stack operations with pointers with appropriate exception checks.
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
How does c++ structure differ from c++ class?
What is function overloading in C++?
What is using namespace std in cpp?
When is dynamic checking necessary?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)