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

Insertion and deletion in a sorted linked list requires_______ changes to reference links.

a) exactly one. b) at most three. c) at least three. d) None of the above.

Computer Science & Information Technology

In fiber-optic cables, single fiber strands are usedfor full-duplex data transmissions.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is NOT a guideline for adding fields to a database table?

A) Store data in their smallest parts. B) Consider the future use of the database. C) Design to accommodate date arithmetic. D) Link tables using foreign keys

Computer Science & Information Technology

In the base case of a recursive solution, the solution is obtained through a call to a smaller version of the original method.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology