Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utcs!mnetor!seismo!topaz!cord!fjh From: fjh@cord.UUCP Newsgroups: net.lang.c Subject: C question Message-ID: <306@cord.UUCP> Date: Wed, 16-Jul-86 15:48:37 EDT Article-I.D.: cord.306 Posted: Wed Jul 16 15:48:37 1986 Date-Received: Wed, 16-Jul-86 22:45:05 EDT Organization: AT&T Bell Laboratories, Liberty Corner Lines: 20 What is the difference between: extern char *A; and extern char A[]; If you do: printf("A=%s\n",A); the first causes a core dump, the second works. I thought pointers and arrays were equivalent? ----- Please send me mail, if you understand this. Thanks! -- <*> Fred Hirsch <*> AT&T Bell Laboratories <*> ihnp4!cord!fjh <*>