What is operator overloading?what r the advantages of operator overloading?

What is operator overloading?what r the advantages of operator overloading?

operator overloading is  the property of Object oriented programming which gives an extra ability to an operator to act on a User-defined operand(Objects).
Advantages:
> It will act differently depending on the operands provided. Its called extesibility.
> It is not limited to work only with primitive Data Type.
> By using this overloading we can easily acces the objects to perform any operations.
> It makes code much more readable.

By:UMANG
Date:2001-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher