Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!cci632!ritcsh!gregory From: gregory@ritcsh.csh.rit.edu (Greg Conway) Newsgroups: comp.lang.c Subject: Re: Just above and below main() Message-ID: <1991Apr13.042343.20020@ritcsh.csh.rit.edu> Date: 13 Apr 91 04:23:43 GMT References: <1243@nanometrics.UUCP> Organization: Computer Science House @ RIT, Rochester, NY. Lines: 21 In article <1243@nanometrics.UUCP> stealth@nanometrics.portal.UUCP (Steve Sabram) writes: >int outside; > >main() >{ >int inside; >... >} >Our debate is which one of these >two are initialized to zero if >any. The answer you are looking for is in K&R II, section 4.9, paragraph 2. I found it in the index under "Externals, initialization of". -- Gregory Conway @ Computer Science House, RIT "And the man in the mirror has sad eyes..." - Marillion