分类:
数据型:int、long、long long、short;
浮点型: float , double;
字符型:char;
布尔型:bool
取值范围:
unsigned int 0~4294967295
unsigned long 0~4294967295
unsigned long long的最大值:1844674407370955161
int -2147483648~2147483647
long -2147483648~2147483647
long long:-9223372036854775808~9223372036854775807
位数:
int: 2的31次方,10的9次方
long long: 大概是10的19次方