1.

What does a mutable member of a class mean?(a) A member that can never be changed(b) A member that can be updated only if it not a member of constant object(c) A member that can be updated even if it a member of constant object(d) A member that is global throughout the class

Answer» Correct answer is (c) A member that can be updated even if it a member of constant object

For explanation: Mutable members are those which can be updated even if it a member of a constant object. You can change their value even from a constant member function of that class.


Discussion

No Comment Found

Related InterviewSolutions