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 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: <877cdur1z9.fsf@bsb.me.uk> <871q42qy33.fsf@bsb.me.uk> <87ed82p28y.fsf@bsb.me.uk> <87r0c1nzjj.fsf@bsb.me.uk> <87ikxconq4.fsf@bsb.me.uk> <20240711115418.00001cdf@yahoo.com> 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 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 */