60 477
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #15864 in C++ for vinod

Question #15864
explain the method of adding member functions in a class?
Expert's answer
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions