Comment Comment by pcwalton > If it's a 32-bit target platform, then the minimum granularity is 4 bytes.Huh? How do you think `const char *s = "Hello"; const char *t = &s[1];` works?> Why should pointer size determine value size though?Because you should be able to take the address of any value, and addresses have byte granularity. parent pcwalton 1 year ago
Huh? How do you think `const char *s = "Hello"; const char *t = &s[1];` works?
> Why should pointer size determine value size though?
Because you should be able to take the address of any value, and addresses have byte granularity.