上期链接点这里(What???反向单链表???)
各类型占字节数
名称 | 占的字节数 |
---|---|
bool | 1 |
char | 1 |
wchar_t | 4 |
char16_t | 2 |
char32_t | 4 |
signed char | 1 |
short | 2 |
int | 4 |
long | 4 |
long long | 8 |
unsigned char | 1 |
unsigned short | 2 |
unsigned | 4 |
unsigned long | 4 |
unsigned long long | 8 |
float | 4 |
double | 8 |
long double | 16 |
void | 1 |
nullptr_t | 8 |
size_t | 8 |
各位请注意,bool
类型要用“亿”个字节存哦。
本期内容就这么多,第四期见!
$\tiny{你们的点赞是我的动力!}$
$\tiny{下期预告:编程语言,你是谁?}$
$\tiny{本系列还有一期拓展篇哦}$