1.

A member function can _______________ of the same class.(a) Call other member functions(b) Call only private member functions(c) Call only static member functions(d) Call only const member functions

Answer» Correct option is (a) Call other member functions

For explanation: We can call one function inside another function to access some data of class. A public member function can be used to call a private member function which directly manipulates the private data of class.


Discussion

No Comment Found

Related InterviewSolutions