What is a non member function
Answers
Answered by
0
A non-member function always appears outside of a class. The member functioncan appear outside of the class body (for instance, in the implementation file). But, when you do this, the member function must be qualified by the name of its class. This is to identify that that function is a member of a particular class.
Similar questions