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?
unsigned short
和unsigned short int
指的是完全相同的数据类型,并且可以互换。
"but what does
unsigned short int
mean? Is itshort
or is itint
?"
There's no difference. It's an unsigned short
, actually the int
keyword is optional for short
or long
declarations. The unsigned
keyword may applied to all of these type declarations, and makes them just unsigned
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.