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

Verified
Correct Answer:
Verified
Q1: The type of function a client would
Q2: Parameterized stream manipulator setfill specifies the fill
Q3: A class's functions can throw exceptions, such
Q5: Given the class definition: class CreateDestroy<br>{<br>Public:<br>CreateDestroy() {cout
Q6: The assignment operator (=) can be used
Q7: Assume that t is an object of
Q8: Assuming the following constructor is provided for
Q9: Static data members of a certain class:<br>A)
Q10: Which of the following is not true
Q11: Inside a function definition for a member