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.

Computer Science & Information Technology

You might also like to view...

The if statement provides a way to build if-then-else logic into a method.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Name three video file types that are suitable for Web playback.

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ is a Windows 8 feature that allows you to share music, pictures, and libraries with other people within a home network

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the reference point locator used for?

What will be an ideal response?

Computer Science & Information Technology