Sujet : Re: relearning C: why does an in-place change to a char* segfault?
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 14. Aug 2024, 01:46:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <864j7oszhu.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
James Kuyper <
jameskuyper@alumni.caltech.edu> writes:
Just as 1 is an integer literal whose value cannot be modified,
[...]
The C language doesn't have integer literals. C has string
literals, and compound literals, and it has integer constants.
But C does not have integer literals.