Operator function - Operator Overloading

Q.  In case of operator overloading, operator function must be ______ .

1. Static member functions
2. Non- static member functions
3. Friend Functions

- Published on 19 Jul 15

a. Only 2
b. Only 1, 3
c. Only 2 , 3
d. All 1 , 2, 3

ANSWER: Only 2 , 3

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.)