Question

Q2: Which of the following statements about friend functions and friend classes is false?
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.

Answer

This answer is hidden. It contains 88 characters.