by-ref parameters, aggregate constants, etc

Stuart D. Gathman stuart at BMS-AT.UUCP
Wed Aug 27 12:32:16 AEST 1986


In article <3100 at umcp-cs.UUCP>, chris at umcp-cs.UUCP (Chris Torek) writes:

Inline functions are clearer, I think:

	inline int
	foo(x, y)
		int x, y;
 	{
 		float a = 0.0;

 		while (x)
 			a += y * x--;
 		return (a);
 	}

--
Yeah!  That is much better! (I just didn't think of it.)
-- 
Stuart D. Gathman	<..!seismo!{vrdxhq|dgis}!BMS-AT!stuart>



More information about the Comp.lang.c mailing list