3 ms·
You literally cannot expect the first two. On word-addressable hardware, you could easily get sizeof(long) = sizeof(int) = 1. This happens on DSPs.
by klodolph 10y ago
You literally cannot expect the first two. On word-addressable hardware, you could easily get sizeof(long) = sizeof(int) = 1. This happens on DSPs.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- marcosdumay 10y agoYes. Didn't think about machines where the memory isn't composed of bytes. The best approach is still to not expect anything.