RSS Feed for This PostCurrent Article

What are storage qualifiers in C++ ?

They are..
const
volatile
mutable
Const keyword indicates that memory once initialized, should not be altered by a program.
volatile keyword indicates that the value in the memory location can be altered even though nothing in the program code modifies the contents. for example if you have a pointer to hardware location that contains the time, where hardware changes the [...]

Trackback URL

Post a Comment