Saturday, June 2, 2007

Memory segments

There are four segmets- code segment, data segment, BSS and stack segment.

Code segment:- Binary code of program that is being executed.
Data segment:- Initialised global variables and datastructure
BSS(Block Started as Symbol):- unitialised global variable datastructure.
Stack segment:- Local variable return address

Memory is allocated in heap.

View My Stats

Click here to submit your site to the search engines for free!