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.
Saturday, June 2, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment