Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!atvax!ncoast!bsa From: bsa@ncoast.UUCP (The WITNESS) Newsgroups: net.lang.c Subject: Re: aesthetics of C, and the ANSI standard Message-ID: <305@ncoast.UUCP> Date: Wed, 5-Sep-84 13:09:44 EDT Article-I.D.: ncoast.305 Posted: Wed Sep 5 13:09:44 1984 Date-Received: Thu, 13-Sep-84 19:12:38 EDT References: <12772@sri-arpa.UUCP>,<375@vu44.UUCP> <1085@t4test.UUCP> Organization: North Coast XENIX, Cleveland Lines: 23 [gollum :-)] > From: chip@t4test.UUCP (Chip Rosenthal) > >It *does* confuse the compiler. You can take the address of a label > >using "&foo". > > By the way, is there anything useful you can do with this feature? > >Use it as a function address? Assigned goto's??? Something else????? > Sure you can! You can write programs which have self modifying > code!! I've already done that, WITHOUT using labels: char *myptr, myarray[5]; gobble() { myarray[50] = 0x0; } which is usually good for a core dump :-) --bsa