Just above and below main()
Greg Conway
gregory at ritcsh.csh.rit.edu
Sat Apr 13 14:23:43 AEST 1991
In article <1243 at nanometrics.UUCP> stealth at 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
More information about the Comp.lang.c
mailing list