Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!floyd!clyde!ihnp4!inuxc!pur-ee!uiucdcs!uiuccsb!grunwald From: grunwald@uiuccsb.UUCP Newsgroups: net.lang.c Subject: Re: More C fun ... - (nf) Message-ID: <4398@uiucdcs.UUCP> Date: Fri, 9-Dec-83 04:30:50 EST Article-I.D.: uiucdcs.4398 Posted: Fri Dec 9 04:30:50 1983 Date-Received: Tue, 13-Dec-83 01:41:13 EST Lines: 27 #R:ihtnt:-201000:uiuccsb:9000008:000:381 uiuccsb!grunwald Dec 9 00:04:00 1983 This makes sense. The function decleration is defined as function name (parameters) decleration statements compound-statement I thing that each compound-statement introduces a new scope. Thus, this is equivilent to complaining about the following return "6": woof(j) int j; { int j = 3; { int j = 6; return(j); } return(j); } main() { printf(" = %d\n", woof(5)); }