Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: Which of the following statements will not
Q17: A client changing the values of private
Q18: A class-scope variable hidden by a block-scope
Q19: Which of the following is not true
Q20: Which of the following statements is false?<br>A)
Q22: An error occurs if:<br>A) A non-reference, non-const,
Q23: Which of the following preprocessor directives does
Q24: Member function definitions:<br>A) Always require the scope
Q25: For a non-constant member function of class
Q26: Which of the following statements is false