cond. op. on ='s LHS
Michael Henning
michi at ptcburp.ptcbu.oz.au
Wed Feb 20 09:46:10 AEST 1991
throopw at sheol.UUCP (Wayne Throop) writes:
>As Dan Bernstein has pointed out in another article, Richard is
>incorrect here. While it is true that the result of ?: is never
>an lvalue, this is irrelevant since the result of * always is.
^^^^^^^^^^^^^^^^^^^^^
Hmmm...
What about
int array[10][10];
and an expression
*array
The type of the expression after dereferencing is "array of 10 ints", which
is *not* an lvalue.
Michi.
--
-m------- Michael Henning +61 75 950255
---mmm----- Pyramid Technology +61 75 522475 FAX
-----mmmmm--- Research Park, Bond University michi at ptcburp.ptcbu.oz.au
-------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA uunet!munnari!ptcburp.oz!michi
More information about the Comp.lang.c
mailing list