《2016-C语言基本知识概括.pptVIP

  • 1
  • 0
  • 约1.1万字
  • 约 56页
  • 2016-12-31 发布于北京
  • 举报
int x; long y; 2000 2001 2002 2005 x y 内存 内存地址 2003 2004 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 整型数据的取值范围 数据类型 int short int long int unsigned int unsigned short unsigned long 取值范围 -32768 - 32767 -32768 - 32767 -2147483648 - 2147483647 0-65535 0-65535 0-4294967295 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 2、整型常量的类型 在将一个整型常量赋给一个整型变量时如何进行类型匹配? 其值在-32768 - +32767范围内,认为它是 int型,它可以赋值给 int 型和 long int 型变量。 其值在-2147483648 - +2147483647范围内,则认为它

文档评论(0)

1亿VIP精品文档

相关文档