Bit Addressable Architectures

Frank Swarbrick swarbric at tramp.Colorado.EDU
Fri Apr 15 08:23:49 AEST 1988


To Ethan Miller:

  He meant that sizeof(foo) and sizeof(&foo[0]) are not the same when foo
is declared 'char foo[] = "This is a test.";'.

  sizeof(foo) == 16

  sizeof(&foo[0]) == 2

Frank Swarbrick (and his cat)    p.s.  --Mal says hi.
swarbric at tramp.UUCP               swarbric at tramp.Colorado.EDU
...!{ncar|nbires}!boulder!tramp!swarbric
"Timothy Leary is dead..." 



More information about the Comp.lang.c mailing list