Bit Addressable Architectures
Doug Gwyn
gwyn at brl-smoke.ARPA
Thu Apr 14 17:28:49 AEST 1988
In article <8646 at eleazar.Dartmouth.EDU> major at 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.)
More information about the Comp.lang.c
mailing list