A member function of a class in C++ is a function that has its definition or its prototype within the class like any other variable. Member function operates on an object of the quality of which it is a member, and it has access to all the members of a class for that object.

A member function can be defined inside the class and outside the class.

BY Best Interview Question ON 26 Jan 2019