#include <iostream>
using namespace std;
int main(){
bool false/true 2的8次方数 也就是256个数 1Byte
char 'c', 'a', ' ', '\n' 1Byte
int -2147483648 ~ 2147483647 4Byte 2的32次方数
float 1.23, 2.5, 1.2345e2, 6-7位有效数字 精度较低 单精度浮点数 4Byte
double 15-16位有效数字 双精度浮点数 8Byte
long long类型是 longlongint简称 -2^63 ~ 2^63-1 = -9e18 ~ 9e18 8Byte
long double 18-19位有效数字 12byte ? 16btye 朕忘了 long double 是16个字节宝
B = Byte
b = bit
1Byte = 8bit
所以带宽 8Mb = 1MB
return 0;
}
1gb = 2的9次方B