Computer Science, asked by pranjeetm99, 10 months ago

We create a class having name as test .Can a non member function access the data member of this class. Justify your answer by an example.

Answers

Answered by Anonymous
1

Answer:

friend functions

A friend function is a function that is not a member of a class but has access to the class's private and protected members

Similar questions