cond. op. on ='s LHS

Doug Gwyn gwyn at smoke.brl.mil
Sun Feb 17 07:33:42 AEST 1991


In article <326 at smds.UUCP> rh at smds.UUCP (Richard Harter) writes:
>> - >       *(a==b?&c:&d) = 1;
>Seriously, there is a germ of a good idea here.

There are good ways of exploiting the ?: operator and bad ways.
The example being discussed is clearly among the latter.



More information about the Comp.lang.c mailing list