Re: Where is a static variable stored?
- From: Michael Mair <Michael.Mair@xxxxxxxxxxxxxxx>
- Date: Sun, 09 Jul 2006 23:37:55 +0200
Jack schrieb:
Thanks.
You're welcome.
Please write/repeat your question in the message text -- there
are newsreaders which do not show subject and message text at
the same time.
Your question: "Where is a static variable stored?" has no
standard C answer.
Variables with static storage duration "live" throughout the
programme's lifetime. Whether they are stored all or only part
of the time in RAM, ROM, or registers is not specified -- they
have only to behave as if they were there the whole time.
This may not be the answer to what you _wanted_ to ask; please
be precise in your questions.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
.
- Follow-Ups:
- Re: Where is a static variable stored?
- From: Jack
- Re: Where is a static variable stored?
- From: Jack
- Re: Where is a static variable stored?
- References:
- Where is a static variable stored?
- From: Jack
- Where is a static variable stored?
- Prev by Date: Re: Where is a static variable stored?
- Next by Date: Re: Mac C compiler
- Previous by thread: Re: Where is a static variable stored?
- Next by thread: Re: Where is a static variable stored?
- Index(es):
Relevant Pages
|