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
Q5: Which of the following are true about
Q6: Which of the following is not true
Q8: The numbers 3, 2, 5, 7 are
Q11: Which of the following statements will not
Q12: Which of the following is not an
Q13: Increment i )
{
Count = c;
}
Does not cause
Q22: Assume that t is an object of
Q24: Static data members of a certain class:
A)
Q30: An error occurs if:
A) A non-reference, non-const,
Q32: For a non-constant member function of class
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents