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 )

d. y operator+=( y + z )

Computer Science & Information Technology

You might also like to view...

Inheritance means that the data and methods of an existing class can be extended and customized to fit a new class

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following enables administrators to specify what programs are allowed to run on the desktop in a domain-based environment?

a. AppLocker b. BitLocker c. Credential Manager d. Secure Startup

Computer Science & Information Technology