整型变量-C++程序设计(谭浩强完整版)

整型变量:分为有符号型与无符号型。有符号型: short在内存中占两个字节,范围为-215~(215-1) int在内存中占四个字节,范围为-231~(231-1) long在内存中占四个字节,范围为-2-31~231-1无符号型:最高位不表示符号位unsigned short在内存中占两个字节,范围为0~216-1 unsigned int在内存中占四个字节,范围为0~232-1 unsigned long在内存中占四个字节,范围为0~232-1
ppt 文件大小:8.51MB