Member function definitions:

a. Always require the binary scope operator (::).
b. Require the binary scope operator only when being defined outside of the definition of their class.
c. Can use the binary scope operator anywhere, but become public functions.
d. Must use the binary scope operator in their function prototype.

b. Require the binary scope operator only when being defined outside of the definition of their class.

Computer Science & Information Technology

You might also like to view...

The data contents within a table can be seen in Design view

Indicate whether the statement is true or false

Computer Science & Information Technology

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 )

Computer Science & Information Technology