If the line:

friend class A;
appears in class B, and the line:
friend class B;
appears in class C, then:
a. Class A is a friend of class C.
b. Class A can access private variables of class B.
c. Class C can call class A’s private member functions.
d. Class B can access class A’s private variables.

b. Class A can access private variables of class B.

Computer Science & Information Technology

You might also like to view...

Printing a presentation in ________ results in slides being printed in varying shades of gray

Fill in the blank(s) with correct word

Computer Science & Information Technology

Indexed folders are folders that have been sorted in alphabetical order

Indicate whether the statement is true or false

Computer Science & Information Technology