Re: Where are the program variables stored in memory(text, data or stack segments)



In article <1195574401.179806@news1nwk>,
Eric Sosman <Eric.Sosman@xxxxxxx> wrote:
Another point I haven't seen mentioned yet: What about [...]
variables that are optimized out of existence?

They're stored on the heap. Very efficiently.

-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
.



Relevant Pages

  • Re: Finding 1000 largest numbers from a file having some billion numbers
    ... (Constant time, ... (And you don't have to adjust the heap for the vast majority of the ... "Consideration shall be given to the need for as many as 32 characters ... in some alphabets" - X3.4, ...
    (comp.lang.c)
  • Re: Finding 1000 largest numbers from a file having some billion numbers
    ... whose time complexity would be ... If you only look in the heap if the number is greater than the heap ... "Consideration shall be given to the need for as many as 32 characters ... in some alphabets" - X3.4, ...
    (comp.lang.c)
  • Re: How to use Delete in right way
    ... > This code corrupts the heap, because strlen returns the number of ... > excluding the terminating null. ... but this breaks most non-trivial applications because win32 heap ...
    (microsoft.public.vc.debugger)
  • Re: Crisis of logical faith
    ... partial existence*. ... think abou when we create strings of characters: ... characters are composed of discrete values of color, light., matter, ... Something like a superset of logic probabilities, it doesn't 'vanish ...
    (sci.logic)
  • Re: Almas Writing vs Mine
    ... elanders wrote: ... other characters having a meeting. ... existence of a many volume memoir by a close friend of Samuel ...
    (rec.arts.sf.composition)