typessizeofplatform

On which platforms/compilers sizeof(short) is NOT 2?


Tried to look for that and didn't find an answer.

Can anyone help?


Solution

  • There are DSPs that don't allow for integers of less than 32 bits. See this for instance.