Fun and games with ++ operators
Thomas Mitchell
mitch at sgi.com
Tue Oct 23 10:00:30 AEST 1990
In article <1990Sep28.224937.7838 at odin.corp.sgi.com> bh at sgi.com (Bent Hagemark) writes:
* In article <1990Sep28.223417.7571 at odin.corp.sgi.com> pkr at sgi.com (Phil Ronzone) writes:
* >In article <9009211425.AA04291 at snowhite.cis.uoguelph.ca> mike at SNOWHITE.CIS.UOGUELPH.CA writes:
* >> printf("%d %d\n", a[i++], a[i++]);
* >> Depending on the order of evaluation of function arguments, ...
*
* The warning just happens to be on the most important page of K&R C.
* For the 2nd edition this is page 53. I know this because a copy of it
* is taped to my office wall right next to my screen!
*
* Bent
And under the keyboard of another engineer is a Xerox(tm) of
the Precedence and Order of Evaluation table from page 49 of
K&R (1978).
--
--
Thomas P. Mitchell -- mitch at sgi.com or mitch%relay.csd at sgi.com
"All things in moderation; including moderation."
More information about the Comp.sys.sgi
mailing list