|
|
Keith Thompson wrote:
> "William Hughes" <wpihughes@hotmail.com> writes:
>
> Yes, that's a very important point.
>
> All the information that's been posted here about stack and BSS may or
> may not be correct for most platforms, or for one specific platform.
> But the fact that the C language does not refer to "stack" or "BSS" is
> critical. Not bothering to mention that fact to the OP was a
> disservice.
>
> The posters in this thread who have talked about stack and BSS as if
> they're universal concepts, or as if they're part of the C language,
> have been misleading anyone who reads their articles. Anyone who
> says, without qualification, that local variables in C are allocated
> "on the stack" and globals area allocated "in BSS" does not understand
> C.
>
> Even if you (that's a generic "you") believe that we should be
> discussing stack and BSS here in comp.lang.c, you should *at least*
> acknowledge that they are features of some implementations, not of the
> language.
And I have said so above. But for intelligent people, you are finding
it hard to grasp that the OP does not care about all implementations,
just his/hers. The answer is correct in the context of his question.
This is the last time I will say this.
|
|