How is the working of member function different from friend function and a non member function?
plz do tell me..

What do mean by working? The difference lies in their usage, in the way they are declared, their inheritance etc. but they work in the manner you specify them to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.