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
Explain what are the sizes and ranges of the basic c++ data types?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What is the difference between the functions memmove() and memcpy()?
What is the difference between the indirection operator and the address of oper-ator?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What are the advantages of using pointers in a program?
Explain how to initialize a const data member.
What are the advantages of using const reference arguments in a function?
Which function should be used to free the memory allocated by calloc()?
What is the difference between while and do while loop? Explain with examples.
Explain bubble sorting.
how to connect with oracle 9i with server in socket program in c/c++
Write bites in Turbo c++ Header ("Include") Files.
Which software is best for c++ programming?
Define token in c++.