y and z are user-defined objects and the += operator is an overloaded member function. The operator is overloaded such that y += z adds z and y, then stores the result in y. Which of the following expressions is always equivalent to y += z?

a. y = y operator+= z
b. y.operator+=( z )
c. y = y + z
d. y operator+=( y + z )

b. y.operator+=( z )

Computer Science & Information Technology

You might also like to view...

A form is an interface used to enter or modify data in a field or record

Indicate whether the statement is true or false

Computer Science & Information Technology

Devices that play CDs, DVDs, and Blu-ray discs are commonly referred to as ____.

A. players B. discers C. burners D. drivers

Computer Science & Information Technology