Please Answer 8. TCO 6) The general syntax to overload the assignment operator f
ID: 3551166 • Letter: P
Question
Please Answer
8. TCO 6) The general syntax to overload the assignment operator for a class is (Points 4) O friend className& operator (const classNa me& O className& operator (classNa e&T; O string classNa operator (classNa e&T; O const className& operator (const classNa e&T; 9. (TCO 6) Including the const keyword before the parameter of an overloaded operator will (Points 4) O cause a compiler error O prevent the operator from changing the value of the parameter O prevent the operator from changing the value of the parameter only if it is an object of the same class that the overloaded operator is defined in O be used only when overloading the assignment operator 10. TCO 6) A binary operator is one that (Points 4) O operates on binary numbers O has two parts O is associated with only logical operators O has two operands 11. TCO 6) If you overload the binary arithmetic operator as a member function, how many objects must be passed as parameters? (Points: 4) hen does the binding of a virtual function occur? (Points 4) O During program compilation O During program execution O During program linking O During program terminationExplanation / Answer
8. b
9. a
10. d
11. c
12. b