Global variable memory allocation
- From: ravikumar.n@xxxxxxxxxxxxxxxx
- Date: 5 Jul 2005 06:55:40 -0700
Hi all,
I am Ravi Kumar.N, I have a query regarding memory allocation
for global variable.
1) I know that for global variable memroy will be allocated during
compilation process and the value assigned for that variable will be
zero.
2) If we explicitly allocate some known value to the global variable,
the assignment of that value to the corresponding variable will take
place during compilation process or does it take place during execution
of the program.
Please let me know.
With regards,
Ravi Kumar.N
.
- Follow-Ups:
- Re: Global variable memory allocation
- From: Hans-Bernhard Broeker
- Re: Global variable memory allocation
- From: CBFalconer
- Re: Global variable memory allocation
- From: Hans-Bernhard Broeker
- Re: Global variable memory allocation
- From: Richard Willis
- Re: Global variable memory allocation
- Prev by Date: Re: PROBLEM! misc.bus...
- Next by Date: Re: PROBLEM! misc.busines...
- Previous by thread: Re: Is anyone using the Lantronix Xport? Advice please.
- Next by thread: Re: Global variable memory allocation
- Index(es):
Relevant Pages
|