| Deutsch English Français Italiano |
|
<87wmlqsitc.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: technology discussion =?utf-8?Q?=E2=86=92?= does the world need
a "new" C ?
Date: Fri, 12 Jul 2024 08:58:55 -0700
Organization: None to speak of
Lines: 28
Message-ID: <87wmlqsitc.fsf@nosuchdomain.example.com>
References: <v66eci$2qeee$1@dont-email.me> <v6jiud$1dsjb$1@dont-email.me>
<877cdur1z9.fsf@bsb.me.uk> <v6joi4$1epoj$1@dont-email.me>
<871q42qy33.fsf@bsb.me.uk> <v6k6i0$1h4d3$1@dont-email.me>
<87ed82p28y.fsf@bsb.me.uk> <v6m03l$1tf05$1@dont-email.me>
<87r0c1nzjj.fsf@bsb.me.uk> <v6m716$1urj4$1@dont-email.me>
<87ikxconq4.fsf@bsb.me.uk> <v6n8iu$24af0$1@dont-email.me>
<20240711115418.00001cdf@yahoo.com> <v6oamt$2d8nn$1@dont-email.me>
<v6oct4$2djgq$2@dont-email.me> <v6of96$2ekb0$1@dont-email.me>
<v6ovfc$2hcpf$1@dont-email.me> <v6p4hf$2icph$1@dont-email.me>
<v6qgpu$2t6p7$3@dont-email.me> <v6r33m$30grj$1@dont-email.me>
<v6r3iv$30gru$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 12 Jul 2024 17:58:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f6a4ae00b1d1f7396bcd7741519ff487";
logging-data="3252681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IlwaTqlubLw9boZkERyh9"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:Y2YKoPqMZ47bdKQF1fvA3awVLRg=
sha1:qtiVJfF22fvdAimeoUPTj/gA6q0=
Bytes: 2584
bart <bc@freeuk.com> writes:
[...]
> If you had to describe to someone how a function accesses array data
> in its caller, what would you say?
The same thing I've written to you many times over the last several
years in this newsgroup.
> It's clearly not by value. It's apparently not by reference. You can't
> get away with saying they are not passed, as clearly functions *can*
> access array data via parameters.
Yes, function can access array data by means other than passing arrays
as parameters.
> Or would you merely refer to the relevant section in the language reference?
That, and to section 6 of the comp.lang.c FAQ, which is an excellent
description of C's treatment of arrays and pointers. You've repeatedly
declined to say whether you've read it. I encourage you to do so.
> Just curious.
Sure you are.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */