Article View: net.lang.c
Article #9433re: order of evaluation
From: BJORNDAS%CLARGRAD.BITNET
Date: Mon, 29 Sep 1986 12:30
Date: Mon, 29 Sep 1986 12:30
7 lines
866 bytes
866 bytes
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
Technical Details
Message-ID:
<4235@brl-smoke.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!caip!brl-adm!brl-smoke!smoke!BJORNDAS%CLARGRAD.BITNET@WISCVM.WISC.EDUShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!caip!brl-adm!brl-smoke!smoke!BJORNDAS%CLARGRAD.BITNET@WISCVM.WISC.EDU From: BJORNDAS%CLARGRAD.BITNET@WISCVM.WISC.EDU Newsgroups: net.lang.c Subject: re: order of evaluation Message-ID: <4235@brl-smoke.ARPA> Date: Mon, 29-Sep-86 08:30:13 EDT Article-I.D.: brl-smok.4235 Posted: Mon Sep 29 08:30:13 1986 Date-Received: Wed, 1-Oct-86 01:12:03 EDT Sender: news@brl-smoke.ARPA Lines: 7