A question of style

weisen at eniac.seas.upenn.edu weisen at eniac.seas.upenn.edu
Sun Dec 3 16:18:33 AEST 1989


I always used the comma operator for multiple initializations in a for
construct:
	for (i=0,j=0;i<10;i++,j++)
	
Neil




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Neil Weisenfeld			Internet: weisen at eniac.seas.upenn.edu
University of Pennsylvania	USPS:	  3700 Spruce Street, Box 572
Computer Science Dept.  		  Philadelphia, PA  19104
Class of 1991 

"No matter where you go, there you are."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the Comp.lang.c mailing list