131k views
2 votes
3. in a class, a. in a class, why do you include the function that overloads the stream insertion operator, <<, as a friend function? b. in a class, why do you include the function that overloads the stream extraction operator, >>, as a friend function?

User Nikhilesh
by
4.0k points

1 Answer

4 votes
I neeed point 10 thanks
User Raktim Biswas
by
4.6k points