Search

Sponsored Links

Meta

Categories

Archives

Recent Posts

RSS Feeds

04
Nov

Static volatile const int x=1 valid ?

Related Blog Items

Yes, x can be changed by system without compilers knowledge, but x cant be modified by program explicitly, and xs scope is limited to that file if x is declared

Outside a function, if it is inside its value will be retained between function calls.

This variable will be stored in data section.

Popularity: 19%

You need to log on to convert this article into PDF


Related Blog Items

No Comments

No comments yet.

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image