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
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is namespace std; and what is consists of?
What is auto used for in c++?
Explain queue. How it can be implemented?
Describe protected access specifiers?
What are the advantages of prototyping?
What is the difference between the parameter to a template and the parameter to a function?
What is the use of string in c++?
Explain how functions are classified in C++ ?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What are all predefined data types in c++?
What is a singleton c++?
What is the difference between equal to (==) and assignment operator (=)?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?