Source: wikibot/volatile-computer-programming
= Volatile (computer programming)
{wiki=Volatile_(computer_programming)}
In computer programming, the term **volatile** refers to a keyword (or type modifier) used in certain programming languages, such as C and C++, to indicate that a variable's value may change at any time, without any action being taken by the code the compiler finds nearby. This can be crucial in scenarios involving hardware access, multithreading, or interrupt handling.