Which of the following is true? a. You overload an operator by making it a parameter to a function. b. You should overload every C++ operator for each new class you create. c. To avoid confusion, you...


Which of the following is true?


a. You overload an operator by making it a parameter to a function.


b. You should overload every C++ operator for each new class you create.


c. To avoid confusion, you should not overload operators to carry out tasks that are similar


in meaning to the built-in version of the operator.


d. Operators that are normally defined to be only unary must remain unary when you


overload them.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here