1、整数类型 short 占字节数:2 unsigned short 占字节数:2 int 占字节数:4 unsigned int 占字节数:4 long 占字节数:4 unsigned long 占字节数:4 64位:8定义方式见下图

3、字符 char 占字节数:1 unsigned char 占字节数:1 wchar_t 占字节数:2

时间:2024-11-23 11:59:11
1、整数类型 short 占字节数:2 unsigned short 占字节数:2 int 占字节数:4 unsigned int 占字节数:4 long 占字节数:4 unsigned long 占字节数:4 64位:8定义方式见下图
3、字符 char 占字节数:1 unsigned char 占字节数:1 wchar_t 占字节数:2