C/C++基本数据类型
来源:互联网 发布:tracert linux 编辑:程序博客网 时间:2024/05/21 07:57
ANSI C/C++基本数据类型:
Type
Size
数值范围
无值型void
0 byte
无值域
布尔型bool
1 byte
true false
有符号短整型short [int] /signed short [int]
2 byte
-32768~32767
无符号短整型unsigned short [int]
2 byte
0~65535
有符号整型int /signed [int]
4 byte
-2147483648~2147483647
无符号整型unsigned [int]
4 byte
0~4294967295
有符号长整型long [int]/signed long [int]
4 byte
-2147483648~2147483647
无符号长整型unsigned long [int]
4 byte
0~4294967295
long long
8 byte
0~18446744073709552000
有符号字符型char/signed char
1 byte
-128~127
无符号字符型unsigned char
1 byte
0~255
宽字符型wchar_t (unsigned short.)
2 byte
0~65535
单精度浮点型float
4 byte
-3.4E-38~3.4E+38
双精度浮点型double
8 byte
1.7E-308~1.7E+308
long double
8 byte
0 0
- c语言-数据类型-基本数据类型
- C/C++/OC基本数据类型
- C的基本数据类型
- C/C++基本数据类型
- C语言基本数据类型
- Objective-C基本数据类型
- objective-c基本数据类型
- C/C++基本数据类型
- C 基本数据类型
- C/C++基本数据类型
- c语言基本数据类型
- C语言--基本数据类型
- C/C++基本数据类型
- C语言 -- 基本数据类型
- C/C++基本数据类型
- C语言基本数据类型
- C/C++基本数据类型
- C语言基本数据类型
- svn自动更新
- 设计模式——装饰模式(Decorator)
- VS 2010 批量封装字段
- springMVC mybatis 整合
- eclipse部署web项目至本地的tomcat,但在webapps中找不到
- C/C++基本数据类型
- js可编辑表格
- 功能强大的html网站后台管理系统模板代码下载
- Android 禁止系统休眠,使屏幕不变暗,保持游戏中屏幕高亮
- HTTP基础:URL格式、 HTTP请求、响应、消息
- angularjs 保存数据 和 check
- 17.1节练习
- EJB知识点大全
- 数据结构 猫狗队列