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
How the keyword struct is different from the keyword class in c++?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
What are function prototypes?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Define the process of error-handling in case of constructor failure?
What is the purpose of templates in c++?
What is a set in c++?
What is object oriented programming (oop)?
How can I learn c++ easily?
Can I create my own functions in c++?
When do we run a shell in the unix system?
State the difference between delete and delete[].
How can you tell what shell you are running on unix system?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Define a conversion constructor?