c++各种类型数据所占字节数
来源:互联网 发布:java图书管理系统报告 编辑:程序博客网 时间:2024/05/01 14:30
16位编译器
char :1个字节
char*(即指针变量): 2个字节
short int : 2个字节
int: 2个字节
unsigned int : 2个字节
float: 4个字节
double: 8个字节
long: 4个字节
long long: 8个字节
unsigned long: 4个字节
32位编译器
char :1个字节
char*(即指针变量): 4个字节(32位的寻址空间是2^32, 即32个bit,也就是4个字节。同理64位编译器)
short int : 2个字节
int: 4个字节
unsigned int : 4个字节
float: 4个字节
double: 8个字节
long: 4个字节
long long: 8个字节
unsigned long: 4个字节
64位编译器
char*(即指针变量): 8个字节
short int : 2个字节
int: 4个字节
unsigned int : 4个字节
float: 4个字节
double: 8个字节
long: 8个字节
long long: 8个字节
unsigned long: 8个字节
0 0
- c++各种类型数据所占字节数
- C_basic_summary--各种类型数据所占字节数
- C语言中各种整型类型所占字节数
- 在C语言中各种类型数据所占字节数
- C语言类型数据所占字节数
- C各种类型变量所占字节
- int long等各种类型所占的字节数
- C语言的各种数据结构所占的字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- 在C语言中,double、long、unsigned、int、char类型数据所占字节数
- java写的一些方法
- Leetcode:Single Number II
- 深拷贝、浅拷贝
- 2014/12/15
- 20141215-Amazon Intern F2F Interview Experence
- c++各种类型数据所占字节数
- ldd3源码jiq.c编译出现的问题
- JFreeChart--柱状图
- Reverse Nodes in k-Group leetcode
- Golden32 for oracle 下载,附注册码
- iOS开发快速入门教程——3.1节~3.5节
- 我要做一个什么样的程序员
- 数字图像处理之配置opencv中遇到的问题
- iOS开发快速入门教程——3.6节~3.10节