Liste des Groupes | Revenir à cl c |
On Tue, 06 May 2025 13:21:38 -0700, Keith Thompson wrote:Nick Bowler <nbowler@draconx.ca> writes:[...]The rule about conversions from arrays to pointers is different in C99
(n1124 6.3.2.1, third paragraph) compared to C89. In particular,
"an lvalue that has type ``array of type'' ..." was changed to
"an expression that has type ``array of type'' ...".The change from "lvalue" to "expression" was made in C99. I wonder why>
that was done.
It's not mentioned in the rationale, so we can only guess. But it is
called out in the list of major changes in the C99 foreword.
BTW, you have a copy of ANSI C89? Hard or soft copy? Do you know if>
it's still available in some form?
Hint: look for FIPS 160 on the NIST website. This is the same standard
as ANSI X3.159-1989 Programming Language - C.
Les messages affichés proviennent d'usenet.