Multiple Choice
To include the operator function operator+ as a nonmember function of the class rectangleType, its prototype in the definition of rectangleType is: ____ rectangleType operator+(const rectangleType&, const rectangleType&) ;
A) bool
B) int
C) double
D) friend
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: The declaration of a friend function cannot
Q10: With the exception of the _ operator
Q11: When an object invokes a member function,
Q12: In C++, operator is a reserved word.
Q13: To overload the pre-increment (++) operator as
Q15: Which of the following is the general
Q16: Which of the following is the general
Q17: The function that overloads the _ operator
Q18: If you overload the binary arithmetic operator
Q19: The general syntax for the function prototype