Where are static variables stored?

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 ?
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.