? : operator in lvalue

Hedley K. J. Rainnie hkr4627 at acf4.UUCP
Mon Apr 22 17:06:00 AEST 1985

Reminds me of a lovely Algol68 nubbin:

	INT a,b,c;

	IF a THEN b ELSE c FI := 47

or for brevity, using the overloaded parens

	(a | b | c) := 47

Nice eh?


More information about the Comp.lang.c mailing list