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
Do you know about C++ 11 standard?
Describe the advantage of an external iterator.
What is the difference between a pointer and a link in c ++?
What do you mean by translation unit in c++?
How the endl and setw manipulator works?
What is the basic of c++?
What are the advantages of using pointers in a program?
How can you link a c++ program to c functions?
Explain deep copy and a shallow copy?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What happens when the extern "c" char func (char*,waste) executes?
Which bitwise operator is used to check whether a particular bit is on or off?
What is new in c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
What is a Default constructor?