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



Richard Tobin wrote:
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.

Ha! Well said!

--
Eric Sosman
esosman@xxxxxxxxxxxxxxxxxxxx
.



Relevant Pages

  • Re: Implementation-defined behaviour
    ... Richard Tobin wrote: ... Eric Sosman wrote: ... Frobozz Magic C version 42 Release Notes and Do-It-Yourself ...
    (comp.lang.c)
  • Re: Heap-Set Theory H-S
    ... of view - it seems) to rule out the "empty heap". ... I understand that the Null heap is not empty of course since this ... But what is the intuitive basis for axiomatizing the existence of such ...
    (sci.logic)
  • Re: When to check the return value of malloc
    ... Richard Tobin wrote: ... general-purpose malloc() replacement. ... The existence of arguments one way doesn't preclude the existence of ...
    (comp.lang.c)
  • Re: Heap-Set Theory H-S
    ... one might mistake them for quotation marks. ... is not a "molecular" heap - but just a heap consisting of that very set. ... But what is the intuitive basis for axiomatizing the existence of such ...
    (sci.logic)
  • Re: Huge memory allocation
    ... Richard Tobin a écrit: ... Eric Sosman wrote: ... Oops! ... regardless of the sizeof ...
    (comp.lang.c)