Data segment: Difference between revisions

Content deleted Content added
m External links: Fix dead link
Mmorop (talk | contribs)
m clarified a section that could be clearer
Line 22:
 
The values for these variables are initially stored within the read-only memory (typically within ''.text'') and are copied into the ''.data'' segment during the start-up routine of the program.
 
Note that in the above example, if these variables had been declared from within a function, they would default to being stored in the stack frame.
 
===BSS===