Liste des Groupes | Revenir à cl c |
On 06/07/2024 19:28, James Kuyper wrote:
>... an expression that has type "array of type" is
converted to an expression with type "pointer to type" that points to
the initial element of the array object ..." (6.3.2.1p3).
This is really, really pedantic. Even gcc doesn't get it right in that
case, because if I try and compile this:
int a, b
a[b];
it says:
error: subscripted value is neither array nor pointer nor vector
'Subscripting' I think we can agree is the same thing as 'indexing':
what those funny square brackets do.
Les messages affichés proviennent d'usenet.