int分为长int和短int。 其中long int为4字节,short int为2字节。
char 1字节。
双精度8字节。 扩展数据: 16位编译器
char :1字节
char*指针变量(: 2字节
短整型: 2字节
int:2字节
未指定int : 2字节
浮点:4字节
双精度:8字节
长:4字节
长长:8字节
无符号长:4字节32位编译器
char :1字节
char*或指针变量(: 4字节) 32位地址空间为2^32,或32位,或4字节。 同样的64位编译器)
短整型: 2字节
int:4字节
未指定int : 4字节
浮点:4字节
双精度:8字节
长:4字节
长长:8字节
无符号长:4字节64位编译器
char :1字节
char*指针变量(: 8字节
短整型: 2字节
int:4字节
未指定int : 4字节
浮点:4字节
双精度:8字节
长:8字节
长长:8字节
无符号长:8字节