Difference between Operator overloading and Functional
overloading?
Answer Posted / rock
we use predefined operators like +,-,* etc.. to perform
operations only between normal variables even in order to
perform between user defined variables we use operator
overloading.
when two or more functions having same name but different
signatures we use function overloading.
Here compiler uses NAME MANGLING to differentiate between the
functions.
| Is This Answer Correct ? | 17 Yes | 11 No |
Post New Answer View All Answers
Which is best c++ or java?
What is a manipulator in c++?
What are keywords in c++?
Can a Structure contain a Pointer to itself?
How long will it take to learn programming?
What are advantages of using friend classes?
What are c++ storage classes?
Differentiate between the message and method in c++?
Evaulate: 22%5 a) 2 b) 4 c) 0
Const char *p , char const *p What is the difference between the above two?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
When are exception objects created?
What is #include sstream?
Explain "const" reference arguments in function?
What are the extraction and insertion operators in c++?