空间计算

bool 1
int 4
long long 8
double 8
用sizeof(a)来求字节
1M=1024KB=1024*1000B
1B=1字节

原文地址:https://www.cnblogs.com/war1111/p/7629161.html