Xref: utzoo comp.lang.c:9308 comp.arch:4339 Path: utzoo!mnetor!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.lang.c,comp.arch Subject: Re: Bit Addressable Architectures Message-ID: <10422@steinmetz.ge.com> Date: 14 Apr 88 14:04:11 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: davidsen@crdos1.UUCP (bill davidsen) Followup-To: comp.lang.c Organization: General Electric CRD, Schenectady, NY Lines: 19 In article <8646@eleazar.Dartmouth.EDU> major@eleazar.Dartmouth.EDU (Lou Major) writes: ... | 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) Excuse me? Not on any machine I've ever seen, or in any standard I've ever read. foo is an array, not a pointer. What you said would be true if the declaration was: char *foo = "This is a test"; I've moved followup to comp.lang.c -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me