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 class objects be passed as function arguments?
What are enumerations?
Explain the problem with overriding functions
What is a breakpoint?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Write about c++ storage classes?
Write some differences between an external iterator and an internal iterator?
What is the difference between a pointer and a link in c ++?
Describe the syntax of single inheritance in C++?
Write a program to add three numbers in C++ utilizing classes.
Which bit wise operator is suitable for putting on a particular bit in a number?
Define private, protected and public access control.
How do you traverse a btree in backward in-order?
Explain how a pointer to function can be declared in C++?