State which of the following statements is TRUE
- Operator functions never return a value
- Friend functions cannot be used for operator overloading
- An operator function must have at least one argument
- The overloaded operator must have at least one operand that is of user-defined type.
Answer:
Option b and d: (b:Friend functions cannot be used for operator overloading)(d:The overloaded operator must have at least one operand that is of user-defined
type
Explanation Here
0 Comments