difference between c++; and ++c;

Blair P. Houghton bhoughto at pima.intel.com
Mon Apr 22 06:19:37 AEST 1991


In article <1991Apr18.230559.28858 at arcturus.uucp> berry at arcturus.uucp (Berry;Craig D.) writes:
>My conclusion:  "++c" and "c += 1" are semantically
>equivalent, and "++c" is shorter.  My vote goes for the
>latter.

There's about six years' worth of Obfuscated C Code Contest winners
that tend to indicate that shorter is not a reason for better.

				--Blair
				  "Necessary nor sufficient."



More information about the Comp.lang.c mailing list