Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site mako.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!orca!mako!glenm From: glenm@mako.UUCP (Glen McCluskey) Newsgroups: net.lang.c Subject: ? : operator in lvalue Message-ID: <704@mako.UUCP> Date: Mon, 15-Apr-85 22:51:20 EST Article-I.D.: mako.704 Posted: Mon Apr 15 22:51:20 1985 Date-Received: Thu, 18-Apr-85 02:58:41 EST Distribution: net Organization: Tektronix, Wilsonville OR Lines: 13 Is it considered kosher to use the ``? :'' operator in computing an lvalue, as in int a, b, c; *(a ? &b : &c) = 47; This is certainly legal C, but I never recall seeing it used in any code I have looked at. Glen McCluskey ..tektronix!mako!glenm