数据类型 | 字节数 | 比特数 |
char | 1 | 8 |
char * | 8 | 64 |
short | 2 | 16 |
short int | 2 | 16 |
int | 4 | 32 |
long long | 8 | 64 |
unsigned char | 1 | 8 |
unsigned short | 2 | 16 |
unsigned int | 4 | 32 |
unsigned long long | 8 | 64 |
float | 4 | 32 |
double | 8 | 64 |
long double | 8 | 64 |
数据类型 | 字节数 | 比特数 |
char | 1 | 8 |
char * | 8 | 64 |
short | 2 | 16 |
short int | 2 | 16 |
int | 4 | 32 |
long long | 8 | 64 |
unsigned char | 1 | 8 |
unsigned short | 2 | 16 |
unsigned int | 4 | 32 |
unsigned long long | 8 | 64 |
float | 4 | 32 |
double | 8 | 64 |
long double | 8 | 64 |