A question of style

Miles Bader bader+ at andrew.cmu.edu
Sat Dec 2 08:49:05 AEST 1989


mark at jhereg.Minnetech.MN.ORG (Mark H. Colburn) writes:
> The code above could be written as 
> 
>         while (c = getchar && c  != EOF) { 
>             ... 
>         }
> 
> Which most programmers would find "more intuitive" than the comma seperated
> one.

But it doesn't work when c=='\000'!



More information about the Comp.lang.c mailing list