Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!smoke!LINNDR%VUENGVAX.BITNET@wiscvm.ARPA From: LINNDR%VUENGVAX.BITNET@wiscvm.ARPA Newsgroups: net.lang.c Subject: Order of function argument evaluation Message-ID: <3965@brl-smoke.ARPA> Date: Mon, 22-Sep-86 01:28:49 EDT Article-I.D.: brl-smok.3965 Posted: Mon Sep 22 01:28:49 1986 Date-Received: Wed, 24-Sep-86 07:05:40 EDT Sender: news@brl-smoke.ARPA Lines: 21 >Does anyone know of a compiler for which the program below does NOT >produce the output shown? > . > . > . >----- PROGRAM OUTPUT --------------- >2,1,0 >3 >------------------------------------ It seems I can answer my own question; the Sargasso C compiler for the DEC-10 under TOPS-10 produces ----- 0,1,2 3 ------ This sort of behavior is up to the compiler writer, isn't it? ----------------------------------------------------------------------- David Linn LINNDR%VUENGVAX.BITNET@WISCVM.WISC.EDU ! Internet (I think) ...!psuvax1!vuengvax.bitnet!linndr ! Usenet