Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>volatile volatile data type modifier</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
volatile                 Volatile Data Type Modifier

    The keyword volatile is used in declarations to ensure that the
    object it applies to is not subjected to certain optimizations by the
    compiler. Volatile identifies the object as being outside the control
    of this program, meaning that it may be set and tested
    asynchronously.  The volatile keyword warns the compiler not to make
    assumptions concerning the value of the object while evaluation
    expressions, since it could change at any time.  The keyword is
    useful when writing device drivers, interrupt handlers, or other
    tasks that map into shared memory.

      Notes:    The volatile keyword is a recent addition to the language
                and is not universally supported by compilers.

See Also: const Types Type Modifiers

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson