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

    This keyword is intended for use in declarations to ensure that the
    object it applies to is not modified or otherwise stored into.
    Specifically, it makes sure that the object is not used as an lvalue.
    This is useful in generating ROMable code; it also provides numerous
    optimization possibilities for the compiler. (It is not yet
    implemented by MS-C.)

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

See Also: Types Type Modifiers

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