Home » Interview » Technology

What are storage qualifiers in C++ ?

Correct Answer: ConstKeyword 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 Mutable keyword indicates that particular member of a structure or class can be altered even if a particular structure variable, class, or class member function is constant

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion