Data segment: Difference between revisions

Content deleted Content added
Mmorop (talk | contribs)
m clarified a section that could be clearer
Mmorop (talk | contribs)
Line 23:
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 local stack frame.
 
===BSS===