Can a member function be declared as private member of a class? How can it be accessed?
A member function can be declared private. Private member function can be accessed using the member functions of the class and the friend functions.
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment