electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

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


Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews -> How C stores variables in memory i.e. in stack, heap etc
Author Message
smartshashi



Joined: 11 Aug 2004
Posts: 63


Post12 Apr 2007 16:44   

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


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.
Back to top
Google
AdSense
Google Adsense




Post12 Apr 2007 16:44   

Ads




Back to top
aospinas



Joined: 24 Nov 2003
Posts: 43
Helped: 7


Post12 Apr 2007 21:38   

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


depend of system operation!!!


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

enjoy
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews -> How C stores variables in memory i.e. in stack, heap etc
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Heap/Stack (1)
What is Flash Memory, SDRAM etc etc (4)
stack memory design (2)
Stack overflow and memory problem? (3)
memory allocation in stack and queue. (1)
Performance on stack and data memory (2)
Can a simple printf statement uses the stack memory in C lan (3)
how to use memory compiler for very big memory design? (1)
What is Compiler, Assembler, Linker etc etc ? (2)
how to use variables in mws? (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS