Difference between Operator overloading and Functional
overloading?

Answer Posted / r

Function overloading is when a class inherits from another class and codes a functionality for a function defined in the base class.

Operator overloading is when the default behaviour of operators (+, =, ==, etc.) is modified by user defined actions.

Thanks.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic difference between C and C++?

616


What is a vector c++?

545


What is the best way to take screenshots of a window with c++ in windows?

563


What is virtual base class uses?

701


explain the reference variable in c++?

562






What is c++ and its uses?

610


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

671


Are iterators pointers?

658


What is virtual destructor? What is its use?

570


How do I get good at c++ programming?

590


What is a local variable?

567


Explain the isa and hasa class relationships. How would you implement each?

599


What is a modifier in c++?

623


Why are pointers not used in c++?

621


Define the operators that can be used with a pointer.

562