How C stores variables in memory i.e. in stack, heap etc

Status
Not open for further replies.

smartshashi

Member level 4
Joined
Aug 11, 2004
Messages
68
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
513
hi
i want to about how c strores variables in memory & what happens if fuction get called. also structure gives size of 8 for one char & one integer. why it like so. Plz explain this also suggest any book if anybody knows.
 

depend of system operation!!!


/------------------\ Address less mempru
| |
| Text |
| |
|------------------|
| |
| Data |
|(No inicializados)|
|------------------|
| |
| Stack |
| |
\------------------/

enjoy
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…