Difference between Overloading and Overriding?
Answer Posted / swetcha
Overloading - Two functions having same name and return
type, but with different type and/or number of arguments.
Overriding - When a function of base class is re-defined in
the derived class.
| Is This Answer Correct ? | 850 Yes | 105 No |
Post New Answer View All Answers
How would you obtain segment and offset addresses from a far address of a memory location?
What is the size of a vector?
What are the four main data types?
What are the stages in the development cycle?
What does new in c++ do?
Can we use clrscr in c++?
How compile and run c++ program in turbo c++?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
Is c++ used anymore?
Explain one method to process an entire string as one unit?
What does the linker do?
Explain the auto storage classes in c++.
What is tellg () in c++?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
Why do we need constructors in c++?