Deutsch   English   Français   Italiano  
<20250414003003.00004151@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: do { quit; } else { }
Date: Mon, 14 Apr 2025 00:30:03 +0300
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <20250414003003.00004151@yahoo.com>
References: <vspbjh$8dvd$1@dont-email.me>
	<vt3iqh$2ka99$1@dont-email.me>
	<vt5fed$ccri$1@dont-email.me>
	<vt5js2$g1t7$1@dont-email.me>
	<20250409142303.00004645@yahoo.com>
	<87ikndqabc.fsf@nosuchdomain.example.com>
	<20250410115501.000037a5@yahoo.com>
	<vt8ei8$2vn84$1@dont-email.me>
	<20250410080629.532@kylheku.com>
	<vt94q5$3jjod$1@dont-email.me>
	<vt9628$3hhr8$3@dont-email.me>
	<vtammh$174ev$1@dont-email.me>
	<vtavn9$1dp7m$3@dont-email.me>
	<vtb8nv$1plb2$2@dont-email.me>
	<vtba81$1qfbm$1@dont-email.me>
	<vtbc6o$1te2o$1@dont-email.me>
	<vtbhjv$24api$1@dont-email.me>
	<vtbn2k$293r1$1@dont-email.me>
	<vtc19j$2kqlj$1@dont-email.me>
	<87a58mqt2o.fsf@nosuchdomain.example.com>
	<vtc7mp$2q5hr$1@dont-email.me>
	<875xjaqmgf.fsf@nosuchdomain.example.com>
	<vtcfhp$325g6$1@dont-email.me>
	<vtdql9$kspt$1@dont-email.me>
	<vte5o1$umr8$1@dont-email.me>
	<20250412101325.877@kylheku.com>
	<20250413214046.0000530f@yahoo.com>
	<20250413130116.546@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 13 Apr 2025 23:30:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9863df71b68e2ba3072c62004daf6125";
	logging-data="3566608"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19oguzxor0gHQjUsoGVQ849hNEcRxBsOJQ="
Cancel-Lock: sha1:6KXwsvp7Bjqt8n0nkiMWTS2KDLk=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)

On Sun, 13 Apr 2025 20:08:52 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> wrote:

> On 2025-04-13, Michael S <already5chosen@yahoo.com> wrote:
> > The funny thing is that in original C prefix form of [] indexing was
> > equivalent to the postfix form.  May be, it still is in C23, I
> > didn't try to look in the docs or test.  
> 
> Are you thinking of a[i] being *(a + i) being i[a] due to
> commutativity?
> 

My impression rfrom old books was that indexing as [i]arr was (is ?)
also legal.

> That's really not a useful feature. Actually right down to a + i being
> commutative when a is a pointer. It would be fine if only the
> <pointer> + <integer> combination were allowed.
>