2021/7/12
关于u8 u16 u32 s8 s16 s32
简写 |
含义 |
---|
u8 |
unsigned char |
u16 |
unsigned short |
u32 |
unsigned long |
s8 |
signed char |
s16 |
signed short |
s32 |
signed long |
整型数据类型
数据类型 |
字节大小 |
数值范围 |
---|
short int(短整型) |
2字节 |
-32768~+32768 |
unsigned short int(无符号短整型) |
2字节 |
0~+65535 |
int(整型) |
4字节 |
-2147483648~+2147483647 |
unsigned int(无符号整型) |
4字节 |
0~4294967295 |
long int(长整型) |
4字节 |
-2147483648~+2147483648 |
unsigned long int(无符号长整型) |
4字节 |
0~4294967295 |
long long int(超长整型) |
8字节 |
略 |
unsigned long long int(无符号超长整型) |
8字节 |
略 |
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。