Search code examples
c++intunsignedshort

What the difference between unsigned short int and unsigned int or unsigned short?


According to: http://en.wikipedia.org/wiki/C_data_types you can use unsigned short type or unsigned short int type. But what the difference between them? I know what is unsigned short and I know what is unsigned int but what does unsigned short int mean? Is it short or is it int?


Solution

  • unsigned short and unsigned short int refer to exactly the same datatype and are interchangeable.