Interview Questions   Tutorials   Discussions   Programs   Videos   

C++ - what is the use of mutable key word?

asked marvit August 19, 2014 01:51 AM  

what is the use of mutable key word?


1 Answers

answered By bhjahnavi   0  
mutable keyword can only be applied to non-static and non-const data members of a class. If a data member is declared mutable, then it is legal to assign a value to this data member from a const member function.
   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  Question tags

c++ × 1

Asked 3 years and 5 months ago ago
Number of Views -219
Number of Answers -1
Last updated
3 years and 3 months ago ago

  Similar questions

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!