Although, as far as I know, it is technically possible that int is not 32 bits, I have never seen a platform where it is not. Imagine-char, 8bit, short, 16bit, int, .. 24bit? It just doesn't match the hierarchy for int not 32 bits.
Alternatively, you can use UINT_MAX to confirm the size of an int on your compiler.
Puppy source
share