what's the difference between function overloading and
function overiding?
Answer Posted / vinita taneja
1.function overloading is the function having same name but with different signatures whereas , if there is a member function having same name in both base and derived class , then the member function of derived class will be executed and this is called function overriding.
2.there is no concept of inheritance in function overloading whereas it is there in function overriding.
3.in function overloading , signatures must be different whereas in function overriding , signatures must be same.
| Is This Answer Correct ? | 26 Yes | 0 No |
Post New Answer View All Answers
Is there any error below, its a code to delete all entires from a map #include
Is stl part of c++ standard?
What is a standard template library (stl)? What are the various types of stl containers?
write a program to convert a decimal number in to its equivalent binary number?
What are the different types of stl containers?
How connect plc and pc through software
sir please send me bpcl previous question papers
How is stl different from c++ standard library?
How stl is different from the c++ standard library?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Explain stl.
What is stl stack?
Name the different types of stl containers.
What is stl language?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command