What are storage qualifiers in C++?

Started by beingchinmay, 01-17-2017, 00:44:55

Previous topic - Next topic

beingchinmayTopic starter

Storage qualifier is a keyword that specify the type of storage needed.
Storage qualifiers are
Mutable
Const
Volatile


Lishmalinyjames

Type qualifiers express the way in which a variable is accessed or where a variable is stored in the memory by keeping the meaning or interpretation of the variable same. In a way, type qualifiers add more refinement to variables.


saravanan28

Qualifiers just specify something about how it may be accessed or where it is stored. Three qualifiers are there in C++. These are: const: This is used to define that the type is constant.
  •  

Lishmalinyjames

Type qualifiers express the way in which a variable is accessed or where a variable is stored in the memory by keeping the meaning or interpretation of the variable same. In a way, type qualifiers add more refinement to variables.