String assignments
Doug Gwyn
gwyn at smoke.BRL.MIL
Wed May 3 20:21:51 AEST 1989
In article <1814 at leah.Albany.Edu> rds95 at leah.Albany.Edu (Robert Seals) writes:
>But what if the compiler decides that ``somestring'' has finished it's
>duty to the program, and overwrites the space it took with something else?
We call that a "compiler bug". Strings have static storage duration;
so long as one is still validly accessible via a pointer, it has to
remain intact.
More information about the Comp.lang.c
mailing list