Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/26/83; site ihtnt.UUCP Path: utzoo!linus!decvax!harpo!floyd!vax135!ariel!hou5f!hou5g!hou5h!hou5a!hou5d!hogpc!drux3!ihnp4!ihldt!ihtnt!brandx From: brandx@ihtnt.UUCP Newsgroups: net.lang.c Subject: More C fun ... Message-ID: <2010@ihtnt.UUCP> Date: Tue, 6-Dec-83 11:00:23 EST Article-I.D.: ihtnt.2010 Posted: Tue Dec 6 11:00:23 1983 Date-Received: Fri, 9-Dec-83 02:15:56 EST Organization: BTL Naperville, Il. Lines: 21 Here's another "feature" of C (run under UN*X 5.0 and 4.1BSD): junk(j) int j; { int j=3; /* duplicate declaration */ return(j); } main() { printf("<%d>\n",junk(5)); } compiles fine and outputs: <3>