Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!gatech!udel!princeton!pucc!EGNILGES From: EGNILGES@pucc.Princeton.EDU (Ed Nilges) Newsgroups: comp.software-eng Subject: Re: Re: WANTED: "C" code line counter program Message-ID: <12591@pucc.Princeton.EDU> Date: 15 Mar 91 02:19:04 GMT References: <1991Mar6.214157.18633@ntpal.uucp> <9082@suns6.crosfield.co.uk> <1991Mar12.152134.15903@cadence.com> <9122@suns6.crosfield.co.uk> Reply-To: EGNILGES@pucc.Princeton.EDU Organization: Princeton University, NJ Lines: 29 Disclaimer: Author bears full responsibility for contents of this article In article <9122@suns6.crosfield.co.uk>, raj@crosfield.co.uk (Ray Jones) writes: >In all the silly examples of multiple semicolons, nobody has mentioned >the obvious one; > > for(i=0; i >How many statements? One, surely. COME ON, people! Use the Backus Naur Form definition of the language, ad printed in The C Programming Language, second edition , p. 234. Here we read that a statement of the type "iteration statement" is (among other things) for ( optexp; optexp; optexp ) statement which means that > > for(i=0; i