Declaration of Static Objects

An object can be declared with static storage class using the static or extern keyword. Local objects must be explicitly declared as static or extern to have static storage class. All global objects (objects declared outside all functions) have static storage class. You cannot declare static instances in a tiny-model program.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft