A

Admin • 833K Points
Coach

Q. What does a mutable member of a class mean?

  • (A) A member that can never be changed
  • (B) A member that can only be modified if it is not a member of a constant object
  • (C) A member that can be modified even if it is a member of a constant object
  • (D) A member that is global in the entire class
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

Mutable members are those that can be modified even if they are members of a constant object. You can change their value even from a constant member function of this class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.