comma operator

Karl Heuer karl at haddock.ima.isc.com
Sat Aug 5 02:22:38 AEST 1989


In article <2550097 at hpisod2.HP.COM> decot at hpisod2.HP.COM (Dave Decot) writes:
>Another convenient use of the comma operator is in for loops ...

Which is only necessary because of a flaw in the language, in that it requires
the pieces of a "for" statement to be expressions rather than statements, even
though the values of the first and third pieces are ignored.

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list