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...

A firewall can be used to shield your computer from direct access to the Internet

Indicate whether the statement is true or false

Computer Science & Information Technology

People skills are a valuable asset in any IT field

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ________ predefines set of formats that can be applied to text, a paragraph, a table cell, or a list

Fill in the blank(s) with correct word

Computer Science & Information Technology

A bar chart uses ________ bars

Fill in the blank(s) with correct word

Computer Science & Information Technology