Const (computer programming): Difference between revisions

Content deleted Content added
Line 95:
 
===<code>volatile</code>===
The other qualifier in C and C++, <code>volatile</code>, can be used in exactly the same manner as <code>const</code> in declarations of variables, pointers, references, and member functions, but such use has little semantic value, except in the case of variables, such use has little semantic value. The <code>const_cast</code> keyword can also be used to strip the <code>volatile</code> qualifier.
 
[[Category:C programming language family]]