cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Where are static variables stored?
Where are static variables stored?
Aug 8, 2010 at 5:21am UTC
jbourne
(6)
As such are they stored in the Stack(probably not)..
The heap ?
or some other Storage area?
Also is there any other storage area in C where data can be stored ?
Aug 8, 2010 at 7:49am UTC
closed account (
EzwRko23
)
They are stored where the global variables are stored - in the data segment of the application.
Topic archived. No new replies allowed.