Sujet : Re: technology discussion → does the world need a "new" C ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 10. Jul 2024, 07:55:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6l7o5$1poc2$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.158 (Avdiivka; )
On Sat, 06 Jul 2024 15:23:47 -0700, Keith Thompson wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> 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?