Must useless expressions be evaluated?

vmicro1 at ucbtopaz.UUCP vmicro1 at ucbtopaz.UUCP
Fri Oct 14 12:43:51 AEST 1983


	I think useless expressions must be evaluated, simply because there is
no syntactic criterion to determine the uselessness of any expression. For
example,
	(i=j)+something()+k++;
is not syntactically different from
	(i=j)+1+k++;
but something() probably has side effects.



More information about the Comp.lang.c mailing list