From: "Theodore E. Dennison" <dennison@escmail.orl.mmc.com>
Subject: Re: Constants: how are they allocated?
Date: 1996/05/06
Date: 1996-05-06T00:00:00+00:00 [thread overview]
Message-ID: <318E6C33.6201DD56@escmail.orl.mmc.com> (raw)
In-Reply-To: Dqzvxp.MFo@world.std.com
Robert A Duff wrote:
>
> In article <4ml2s6$bis@dewey.csun.edu>,
> justin gombos <hbcsc096@csun.edu> wrote:
> >Oops.. I botched on the question. Let me re-word it. If a constant is
> >defined and allocated at runtime, where is it stored? ie. in the case
> >that a constant is assigned to a function or expression containing
> >variables.
>
> In most compilers, such constants are allocated just like variables.
Unless, of course, the constant is static (on some compilers). And of
course some compilers go a bit beyond the LRM definition of "static"
in deciding which constants to treat this way.
Again, this is all really implementation-defined.
--
T.E.D.
| Work - mailto:dennison@escmail.orl.mmc.com |
| Home - mailto:dennison@iag.net |
| URL - http://www.iag.net/~dennison |
prev parent reply other threads:[~1996-05-06 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-01 0:00 Constants: how are they allocated? Justin Gombos
1996-05-02 0:00 ` Theodore E. Dennison
1996-05-02 0:00 ` Chad Bremmon
1996-05-06 0:00 ` justin gombos
1996-05-06 0:00 ` Theodore E. Dennison
1996-05-06 0:00 ` Robert A Duff
1996-05-06 0:00 ` Theodore E. Dennison [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox