Which is better?

greenber at acf4.UUCP greenber at acf4.UUCP
Mon Dec 10 03:44:00 AEST 1984


<>

Which (in general!) generates "better" code within a switch or loop?

	if (condition)
	{
		code....
		break;
	}
	other code....
	break;
-------------------------------OR---------------
	if (condition)
	{
		code....
	}
	else
	{
		other code.....
	}
	break;


Ross M. Greenberg  @ NYU   ---->  allegra!cmcl2!acf4!greenber  <----



More information about the Comp.lang.c mailing list