One more point regarding = and == (more flamage)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Mon Apr 1 06:23:34 AEST 1991


In article <3465 at litchi.bbn.com> rsalz at bbn.com (Rich Salz) writes:
> In <3555 at inews.intel.com> bhoughto at hopi.intel.com (Blair P. Houghton) writes:
> >toupper.c:    while ( (int) (c = getchar()) != EOF )
> The cast implies that c is char.  If so, this line is buggy.

Maybe it's long? :-)

---Dan



More information about the Comp.lang.c mailing list