Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!nrl-cmf!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Bit Addressable Architectures Message-ID: <7684@brl-smoke.ARPA> Date: 14 Apr 88 07:28:49 GMT References: <11702@brl-adm.ARPA> <243@eagle_snax.UUCP> <2245@geac.UUCP> <7578@brl-smoke.ARPA> <1040@mcgill-vision.UUCP> <8646@eleazar.Dartmouth.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <8646@eleazar.Dartmouth.EDU> major@eleazar.Dartmouth.EDU (Lou Major) writes: >char foo[]="This is a test."; >sizeof (foo) == sizeof (char *) Since when? I know that Gould had a bug in their UTX-32 compiler that made it think sizeof"......"==sizeof(char *), but they fixed that and in any case it's not the same as your example. So what gives? (I don't think the array name is turned into a pointer just because it's surrounded by parentheses.)