I want to have a nonmember function to have access to the private members of a class. The class must declare that function a

a) friend
b) inline
c) static
d) None of the above nonmember functions cannot have the access described here.

a) If a class declares a functions to be a friend, it is granting access to the
private members (it already has access to the public members.)

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. Windows Movie file format A. publish II. A score of 0-5 assigned to a picture B. .wmv III. Combining all of the elements from a storyboard C. tint to create a movie file IV. Refers to warm or tones in a photo D. movie file V. Refers to the level of green or red in the photo E. Color Temperature

Computer Science & Information Technology

Once a field has been added to a form, you cannot change the text for the field's label.

a. true b. false

Computer Science & Information Technology