char 1
int 4
龙8
浮动4
双精度8 (1)使用VC,int类型占4字节。
)2)使用涡轮c,int类型占2字节。
16位编译器char :1字节char*指针变量(: 2字节short int : 2字节int: 2字节unsigned int : 2字节float: 4字节doubll
32位编译器
char :1字节char*是指针变量,为: 4字节。 32位地址空间为2^32,即32位,即4字节。 相同的64位编译器(short int : 2个字节
int: 4字节unsigned int : 4字节浮点: 4字节双字节: 8字节http://www.Sina.com/longlong 33608字节unsigned long: 4字节
64位编译器
char :1字节
char*指针变量(: 8字节
短整型: 2字节
int: 4字节
未指定int : 4字节
浮点: 4字节
double: 8字节
长: 8字节
长长: 8字节
无符号长: 8字节