类型符号关键字所占位数数字范围
整数型有int16-32768-32767
整数型有short16-32768-32767
整数型有long32-2147483648-2147483647
整数型无unsigned int160-65535
整数型无unsigned short int160-65535
整数型无unsigned long int320-4294967295
实型有float323.4e-38~3.4e38
实型有double641.7e-308~1.7e308
字符型有char8-128-127
字符型无unsigned char80-255