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
Explain queue. How it can be implemented?
What is c++ used for in games?
In a function declaration, what does extern mean?
Which is the best c++ compiler for beginners?
How to implement is-a and has-a class relationships?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
what are the iterator and generic algorithms.
What is the purpose of template?
What is private inheritance?
What is #include iostream in c++?
What is extern c++?
What is namespace std; and what is consists of?
What do you mean by function and operator overloading in c++?
Is turbo c++ free?
What is difference between n and endl in c++?