Giving new meaning to existing operators - Operator overloading

Q.  What does operator overloading mean?

- Published on 16 Jun 15

a. making new c++ operators
b. giving new meaning to existing c++ operators
c. giving c++ more than what they can handle
d. making c++ work with objects

ANSWER: giving new meaning to existing c++ operators
 
An overloaded declaration is a declaration that had been declared with the same name as a previously declared declaration in the same scope, except that both declarations have different arguments and obviously different definition (implementation).

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)