TCO 6 What is the difference between a friend function and a
(TCO 6) What is the difference between a friend function and a member function of the class? (Points : 4)
a) A friend function is a non-member function of the class while a member function is a member of the class.
b) All member functions of a class are also friend functions.
c) The prototype for a friend function is not included in the class definition.
d) The definition of a friend function must be preceded by the class name and the scope resolution operator.
Solution
option a
