Answer to Question #15864 in C++ for vinod
explain the method of adding member functions in a class?
1
2012-10-08T12:09:25-0400
Here is an example of adding member function in a class:
class x
{
public:
int add(){ // inline member function add
& return a+b+c;
}
private:
int a,b,c;
};
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment