3 ms·
At least so far, int in C compilers on 32/64 bit architectures has always been 32 bits. It’s not good practice, but I’ve seen plenty of code assuming int/unsign
by stochastic_monk 9y ago
At least so far, int in C compilers on 32/64 bit architectures has always been 32 bits. It’s not good practice, but I’ve seen plenty of code assuming int/unsigned are 32 bits.
- flamedoge 9y agoC std says int has to be at least 16 bits. http://en.cppreference.com/w/cpp/language/types http://en.cppreference.com/w/cpp/language/types
- stochastic_monk 9y agoOh, absolutely. Like I said, it's bad practice, and that's because it's not guaranteed by the standard. I'm just saying it's done.