order of evaluation

BJORNDAS%CLARGRAD.BITNET at WISCVM.WISC.EDU BJORNDAS%CLARGRAD.BITNET at WISCVM.WISC.EDU
Mon Sep 29 22:30:13 AEST 1986


The expression a = ((b=1,b) + (b=2,b) + (b=3,b)) evaluates correctly
to 6 on the ALCOR C compiler running on a TRS-80 Model 4, TRSDOS 6.2.
(This is also the broken compiler which prompted my earlier question about
chars being promoted to ints in function calls, lest I feel too proud :-).)

Sterling Bjorndahl, Claremont Graduate School
BJORNDAS @ CLARGRAD on BITNET



More information about the Comp.lang.c mailing list