Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c Subject: Re: Comma operator: lvalue???? Message-ID: <11161@alice.UUCP> Date: 7 Aug 90 22:49:44 GMT References: <10839@crdgw1.crd.ge.com> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 12 In article <10839@crdgw1.crd.ge.com>, volpe@underdog.crd.ge.com (Christopher R Volpe) writes: > Can someone with a copy of the standard tell me if the comma > operator produces an lvalue. It does in C++ but not in C. However, it's impossible to write a strictly conforming C program that tests whether or not your implementation returns an lvalue from the comma operator, so it is a permissible extension to do so in C. -- --Andrew Koenig ark@europa.att.com