Difference between overloaded functions and overridden functions

Difference between overloaded functions and overridden functions.

- Overloading is a static or compile-time binding and Overriding is dynamic or run-time binding.
- Redefining a function in a derived class is called function overriding.
- A derived class can override a base-class member function by supplying a new version of that function with the same signature (if the signature were different, this would be function overloading rather than function overriding).
What is function overloading and operator overloading?
What is function overloading and operator overloading? - Function overloading: A feature in C++ that enables several functions of the same name can be defined with different types of parameters or different number of parameters...
Use of this pointer
Explain the use of this pointer - The this keyword is used to represent an object that invokes the member function...
Explain what happens when a pointer is deleted twice - C++
Explain what happens when a pointer is deleted twice - If you delete a pointer and set it to NULL, it it possibly cannot have an adverse effect....
Post your comment