Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.lang.c Subject: Re: meaning of "string constants" in C Message-ID: <8279@mimsy.UUCP> Date: Sun, 30-Aug-87 09:44:07 EDT Article-I.D.: mimsy.8279 Posted: Sun Aug 30 09:44:07 1987 Date-Received: Sun, 30-Aug-87 20:27:26 EDT References: <8877@brl-adm.ARPA> <8088@mimsy.UUCP> <87@splut.UUCP> <231@xyzzy.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 In article <231@xyzzy.UUCP> throopw@xyzzy.UUCP (Wayne A. Throop) writes: >["string"] does not, I repeat *NOT* evaluate to the address of the >array. It evaluates to the address of the first element in the array, >namely the 'L' in "LDA". Oops! I abase myself, etc., &c. The type of "foo" is indeed pointer to char, not pointer to array 4 of char. (Sorry about that.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris