Why should you generally pass an object of the class to a friend function as a reference parameter?

a. If the friend function changes the values of the data member(s).
b. If the friend function will not change the values of the data member(s).
c. It is more efficient to pass the object by reference.
d. A and B
e. A and C

e. A and C

Computer Science & Information Technology

You might also like to view...

The ________ can be used to change options and to add or remove commands from the Quick Access Toolbar

A) Navigation Pane B) Datasheet view C) Navigation Form D) Access Options dialog box

Computer Science & Information Technology

Poor communication is a major risk of offshoring.

a. true b. false

Computer Science & Information Technology