Comma operator: lvalue????
Andrew Koenig
ark at alice.UUCP
Wed Aug 8 08:49:44 AEST 1990
In article <10839 at crdgw1.crd.ge.com>, volpe at 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 at europa.att.com
More information about the Comp.lang.c
mailing list