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 use of typedef?

640


What is the fastest c++ compiler?

589


Explain the difference between new() and malloc() in c++?

624


How is new() different from malloc()?

635


How do you invoke a base member function from a derived class in which you’ve overridden that function?

586






What is std namespace in c++?

726


What is size_type?

551


What is istream and ostream in c++?

599


How do I start a c++ project?

589


What's the most powerful programming language?

601


How can you differentiate between inheritance and implementation in c++?

643


What are the extraction and insertion operators in c++?

565


In a function declaration what does extern means?

603


What is the use of cmath in c++?

593


What is the purpose of the "delete" operator?

624