Xref: utzoo comp.lang.c:9305 comp.arch:4337 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!mordor!sri-spam!sri-unix!quintus!ok From: ok@quintus.UUCP (Richard A. O'Keefe) Newsgroups: comp.lang.c,comp.arch Subject: Re: Bit Addressable Architectures Message-ID: <877@cresswell.quintus.UUCP> Date: 14 Apr 88 09:20:54 GMT References: <11702@brl-adm.ARPA> <243@eagle_snax.UUCP> <2245@geac.UUCP> <8646@eleazar.Dartmouth.EDU> Organization: Quintus Computer Systems, Mountain View, CA Lines: 9 In article <8646@eleazar.Dartmouth.EDU>, major@eleazar.Dartmouth.EDU (Lou Major) writes: > *ahem* > char foo[]="This is a test."; > sizeof (foo) == sizeof (char *) > NOT the number of machine bytes/words those characters take up. (16, for most > typical installations) Wrong. The answer *is* 16. This is one of the few cases where foo and &(foo[0]) are different. I _tried_ this to make sure I was right. That's always a good idea.