InterviewSolution
Saved Bookmarks
| 1. |
What are member functions used in C++? |
|
Answer» 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. |
|