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
How would you obtain segment and offset addresses from a far address of a memory location?
Is linux written in c or c++?
Which c++ operator cannot overload?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
Explain static and dynamic memory allocation with an example each.
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What are the 3 levels of programming languages?
What are the advantages of using friend classes?
What is const pointer and const reference?
What is type of 'this' pointer?
What is the full form of ios?
What is format for defining a structure?
What data encapsulation is in c++?
What is a type library?
Can we use pointers in c++?