CC++Chapter02 数据类型和表达式 01.pptVIP

  • 3
  • 0
  • 约8.62千字
  • 约 42页
  • 2020-09-03 发布于广西
  • 举报
2.2.1.1 整数 整数的4种表示方式: 以0开头的是八进制; 以0X或者0x开头的是十六进制; 以0B或者0b开头的是二进制; 否则是十进制。 比如 12 有 4 种表示法:12, 014, 0XC 或者 0B1100 2. 整数的后缀: 3. 整数的类型 ? If it is decimal and has no suffix, it has the first of these types in which its value can be represented: int, long int, long long int. ? If it is octal or hexadecimal and has no suffix, it has the first of these types in which its value can be represented: int, unsigned int, long int, unsigned long int, long long int, unsigned long long int. ? If it is suffixed by u or U, its type is the first of these types in which its value can be represe

文档评论(0)

1亿VIP精品文档

相关文档