Answer Posted / som shekhar
Sorry the keyword is not volatile ,its mutable.
if the member varible of the class is declared as mutable
then you can change its value in a function which is
declared as constant.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why cout is used in c++?
Does a derived class inherit or doesn't inherit?
What is a literal in c++?
Explain the differences between private, public and protected and give examples.
Which is best c++ or java?
Explain public, protected, private in c++?
What are the various situations where a copy constructor is invoked?
Can we use clrscr in c++?
Are strings mutable in c++?
What does override mean in c++?
What is a stack c++?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is the difference between public and private data members?
Which one is a preferred language C or C++? Why?
What size is allocated to the union variable?