Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!decvax!decwrl!flairvax!ravi From: ravi@flairvax.UUCP Newsgroups: net.bugs,net.lang.c Subject: C compiler bug Message-ID: <131@flairvax.UUCP> Date: Tue, 14-Jun-83 19:51:28 EDT Article-I.D.: flairvax.131 Posted: Tue Jun 14 19:51:28 1983 Date-Received: Wed, 15-Jun-83 20:28:15 EDT Lines: 39 A very simple program #includemain () { char *c[],*d[]; *c = "i am a string"; *d = "so what"; printf("%s\n",*c); printf("%s\n",*d); } on 4.1bsd produced so what so what whereas the C compiler on the TOPS-20 and other variations of the above program on 4.1 bsd produced the correct result. I am curious to find out WHY?. ravi Fairchild Research, Palo Alto,CA.