Solved

Which of the Following Is Not True About Friend Functions

Question 7

Multiple Choice

Which of the following is not true about friend functions and friend classes?


A) A class can either grant friendship to or take friendship from another class using the friend keyword.
B) A friend declaration can appear anywhere in a class definition.
C) A friend of a class can access all of its private data member and member functions.
D) The friendship relationship is neither symmetric nor transitive.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions