Subtle C's - (nf)

jim at ism780.UUCP jim at ism780.UUCP
Thu Apr 26 14:59:59 AEST 1984


#R:acf4:-1390000300:ism780:12500004:000:474
ism780!jim    Apr 25 10:26:00 1984

> Another subtle non-equivalence:
>
>         while (a) if (b) foo; else bar;
>
> is not a syntax error, but is not equal to
>
>         while (a) { if (b) foo; else bar; }

You are wrong.  These are equivalent according to
a) C syntax rules.  b) pcc generated code.  c) common sense.

There are a lot of people on this net who act like they know what they
are talking about, but don't.  BEWARE OF FALSE WIZARDS!

-- Jim Balter, Interactive Systems (decvax!yale-co!ima!jim)



More information about the Comp.lang.c mailing list