Skip to main content

Timeline for Why is int only 2 bytes?

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Feb 22, 2014 at 13:53 history edited asheeshr CC BY-SA 3.0
The relation is in terms of magnitude, not subsets.
Feb 21, 2014 at 6:13 comment added jfpoilpret @ron-e Theoretically, yes, that would be possible. In practice, however, I've never seen that. In most compiler/platforms, one could expect (although it is not imposed) that sizeof(short) < sizeof(long).
Feb 21, 2014 at 6:09 comment added Ron are you saying sizeof(short) == sizeof(int) == sizeof(long) is possible?
Feb 20, 2014 at 18:36 history answered jfpoilpret CC BY-SA 3.0