Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hp-pcd.UUCP Path: utzoo!linus!security!genrad!grkermit!masscomp!clyde!floyd!harpo!seismo!hao!hplabs!hp-pcd!hpfcla!hp-dcd!stroyan From: stroyan@hp-dcd.UUCP Newsgroups: net.lang.c Subject: Re: More C fun ... - (nf) Message-ID: <2930@hp-pcd.UUCP> Date: Fri, 16-Dec-83 03:37:00 EST Article-I.D.: hp-pcd.2930 Posted: Fri Dec 16 03:37:00 1983 Date-Received: Tue, 20-Dec-83 01:49:18 EST Sender: notes_gateway@hp-pcd.UUCP Organization: Hewlett-Packard, Fort Collins, CO Lines: 33 #R:ihtnt:-201000:hp-dcd:18400004:000:250 hp-dcd!stroyan Dec 12 19:36:00 1983 That's just variable declaration on the fly. main () { junk(1); } junk (j) { int j; j=2; { int j; j=3; { int j; j=4; printf ("%d ", j); } printf ("%d ", j); } printf ("%d\n", j); } prints 4 3 2. Mike Stroyan hpfcla!stroyan