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
write a program to convert a decimal number in to its equivalent binary number?
What are the symptoms of stl?
What is the use of stl?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Why should a c++ programmer be interested in stl?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Who created stl?
Is stl part of c++ standard?
Can we use stl in coding interviews?
How do you convert stl to steps?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
What are stl algorithms?
When did c++ add stl?
What are the various types of stl containers?
What are the components of stl?