What is function overloading?,describe it with the example.
Answer Posted / prajapati paresh
the function having the same name but different argument or
different return value is called function overloading
for e.g void sum(int a,intb);
void sum(int a,int b,int c);
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Why do while loop is used?
What is multilevel inheritance explain with example?
What is interface? When and where is it used?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is for loop and its syntax?
What does sksksk mean in text slang?
What is polymorphism what is it for and how is it used?
What is the difference between encapsulation and polymorphism?
What do you mean by Encapsulation?
What is overloading and its types?
What is purpose of inheritance?
What is abstraction in oop with example?
What is the advantage of oop over procedural language?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?