Which statement is false?
a. Based on whether an operator is implemented as a member function or as a non-member function, the operator is used differently in expressions.
b. When an operator function is implemented as a member function, the leftmost (or only) operand must be an object (or a reference to an object) of the operator's class.
c. Operator member functions of a specific class are called (implicitly by the compiler) only when the left operand of a binary operator is specifically an object of that class, or when the single operand of a unary operator is an object of that class.
d. Another reason why you might choose a non-member function to overload an operator is to enable the operator to be commutative.
a. Based on whether an operator is implemented as a member function or as a non-member function, the operator is used differently in expressions.
You might also like to view...
The illustration in the accompanying figure is in Outline mode.
Answer the following statement true (T) or false (F)
If the paragraph element's margin-top value is 15px and margin-bottom value is 25px, the browser sets the vertical margin between paragraphs to ____ pixels.
A. 10 B. 15 C. 25 D. 40