cond. op. on ='s LHS
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Thu Feb 21 13:59:10 AEST 1991
In article <1991Feb20.215402.16343 at unhd.unh.edu> al at unhd.unh.edu (Anthony Lapadula) writes:
> In article <5669:Feb2020:23:4791 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> >None of this is relevant to the question at hand, which is whether
> > *(cond ? &a : &b) = x
> >is valid. It is, provided that a = x and b = x are valid. It will work
> >under any sane compiler. It must work under an ANSI compiler.
> Not true.
Oops, sorry. Make that ``a and b have the same type and a = x is valid.''
---Dan
More information about the Comp.lang.c
mailing list