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
Can you please explain the difference between using macro and inline functions?
Is c++ vector a linked list?
How one would use switch in a program?
What is the auto keyword good for in c++?
Why c++ is not a pure oop language?
How do you differentiate between overloading the prefix and postfix increments?
Can we overload operator in c++?
what is Member Functions in Classes?
What's the "software peter principleā?
What does count ++ do in c++?
Write a recursive program to calculate factorial in c++.
What do you mean by function pointer?
What does new return if there is insufficient memory to make your new object?
Are strings mutable in c++?
Does c++ support exception handling?