Sujet : Re: technology discussion → does the world need a "new" C ?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 13. Jul 2024, 05:04:54
Autres entêtes
Organisation : None to speak of
Message-ID : <87cynirl7d.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13)
Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> writes:
On 12.07.2024 15:59, bart wrote:
[...]
So how are the elements of the caller's array accessed?
No copies have been supplied to the caller. So access is by ... ?
>
...by an implicit pointer value dereferentiation and a global
access to the pointed to storage area.
A small quibble: I suggest "indirect" would be clearer than "global".
For example, a function can define a local array object and use
its name as an argument in a call to another function.
[...]
As an end point to the discussion (just for some recreational
reading) I suggest "The Development of the C Language" by D.
Ritchie.
Available at <
https://www.bell-labs.com/usr/dmr/www/chist.pdf>.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */