3 ms·
It specifies the minimum sizes, in the sense that sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) etc... but no requirements on how big they actual
by brandon_weekly 7y ago
It specifies the minimum sizes, in the sense that sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) etc... but no requirements on how big they actually are. You could (in theory) end up with all of those being 9 bits wide on some weird platform.
- tspiteri 7y agoNo, they cannot all be 9 bits, they have higher minimums. https://en.wikipedia.org/wiki/C_data_types#Basic_types https://en.wikipedia.org/wiki/C_data_types#Basic_types