Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!sri-spam!nike!ucbcad!ucbvax!hplabs!tektronix!reed!trost From: trost@reed.UUCP (Bill Trost) Newsgroups: net.lang.c,net.bugs Subject: e1?e2:e3 so, is it useful or what? Message-ID: <4064@reed.UUCP> Date: Sun, 7-Sep-86 22:30:47 EDT Article-I.D.: reed.4064 Posted: Sun Sep 7 22:30:47 1986 Date-Received: Mon, 8-Sep-86 05:57:49 EDT References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP> Reply-To: trost@reed.UUCP (Bill Trost) Organization: Reed College, Portland, OR Lines: 5 Xref: mnetor net.lang.c:5813 net.bugs:337 All these various examples make it quite obvious that you can do anything without using ?:. The question is, why would you want to? The construct exists as a programmer's convenience. I also suspect (but am uncertain) that the use of ?: is more effecient in terms of code size and speed.