32位编译器:
char :1个字节
char*(即指针变量): 4个字节(32位的寻址空间是2^32, 即32个bit,也就是4个字节。同理64位编译器)
short int : 2个字节
int:
unsigned int : 4个字节
float:
double:
long:
long long:
unsigned long:
64位编译器:
char :1个字节
char*(即指针变量):8个字节
short int : 2个字节
int:
unsigned int : 4个字节
float:
double:
long:
long long:
unsigned long:
编译器环境是指代码调试环境
1798

被折叠的 条评论
为什么被折叠?



