Path: csiph.com!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: Wed, 10 Jul 2024 02:52:19 -0700 Organization: None to speak of Lines: 29 Message-ID: <87a5ipwp4c.fsf@nosuchdomain.example.com> References: <871q48w98e.fsf@nosuchdomain.example.com> <87wmlzvfqp.fsf@nosuchdomain.example.com> <87le2eupl8.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Jul 2024 11:52:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2ff96a67704e58776cf4f9c1dffac965"; logging-data="1968309"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19F8S/lDE7y3gvagKQsAbVJ" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:ngXgkLsuUXUjPSCFiQS1oshqwc4= sha1:8hIEjdRti8jdnkYSMdhmQ3AaFCg= Xref: csiph.com comp.lang.c:386986 Lawrence D'Oliveiro writes: > On Sat, 06 Jul 2024 15:23:47 -0700, Keith Thompson wrote: > >> Lawrence D'Oliveiro writes: >> >>> On Fri, 05 Jul 2024 11:46:38 -0700, Keith Thompson wrote: >>> >>>> No, arrays are not pointers. >>> >>> Except array indexing is designed to be indistinguishable from pointer >>> arithmetic. >> >> No, arrays are not pointers. > > Can you point out any situation where this construct > > &a[b] > > might be valid, but this > > (a + b) > > (with the same declarations of “a” and “b”) might not? I don't know. Can you make your point more clearly? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */