Posted On: Feb 22, 2018
The keyword volatile informs the compiler that a variable may change without the compiler knowing it. Variables that are declared as volatile will not be cached by the compiler, and will therefore always be read from memory.
The keyword mutable can be used for class member variables. Mutable variables are allowed to change from within constant member functions of the class.
Never Miss an Articles from us.
Object-oriented programming (OOP) is a type of computer programming, also more commonly known as software design, in wh..
The statement #include is used in C++ to include the source file or import the header files containing definitions of f..
The ‘this’ pointer is passed as a hidden argument to all the non-static member method calls and is available as a l..