类型符号关键字所占位数数字范围
整数型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