Which of the following statements about friends is correct?
A friend function of a class is a member of the class
B. A friend class of a class is an object member of the class
C. A friend function of a class can access to the private member of the class
D. A friend function of a class is defined outside of the class where it needs to have the class scope