当前位置:网站首页>Data storage (1)
Data storage (1)
2022-07-06 22:19:00 【wx61de0d6870204】
C Language type :1. Built in type
Basic classification of types : integer ——char,short,int,long
floating-point ——float,double
Construction type —— An array type , Type of structure (struct), Enumeration type (enmu), Joint type (union)
Pointer types ——int *pi,char *pa,float* pf,void* pv
Empty type ——void Indicates empty type ( No type )
2. Custom type
The meaning of type :1. Use this type to open up the size of the space ( Size determines the range of use )
2. How to look at the perspective of memory space
Big end, small end : Big end ( Storage ) Pattern , The low bit of data is stored in the high address of memory , And the high end of the data , Stored in a low address in memory
The small end ( Storage ) Pattern , The low bit of data is stored in the low address of memory , And the high end of the data , Stored in a high address in memory
Why is there a big end and small end mode ? This is because in a computer system , We are in bytes , Each address unit corresponds to this byte , A byte is 8bit. But in c In language, except 8bit Of char outside , also 16bit Of short type ,32bit Of long type . in addition , For digits greater than 8 Bit processor , for example 16 Bits or 32 Bit processor , Because the register width is larger than one byte , So there must be a problem of how to arrange multiple bytes , This leads to the big end storage mode and the small end storage mode
边栏推荐
- LeetCode学习记录(从新手村出发之杀不出新手村)----1
- GPS从入门到放弃(十九)、精密星历(sp3格式)
- Solve project cross domain problems
- 2500个常用中文字符 + 130常用中英文字符
- Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
- GPS从入门到放弃(十七) 、对流层延时
- 微信红包封面小程序源码-后台独立版-带测评积分功能源码
- HDU 2008 数字统计
- 保存和检索字符串
- Barcodex (ActiveX print control) v5.3.0.80 free version
猜你喜欢

Seata聚合 AT、TCC、SAGA 、 XA事务模式打造一站式的分布式事务解决方案

LeetCode刷题(十一)——顺序刷题51至55

C # réalise la liaison des données du rapport Crystal et l'impression du Code à barres 4

墨西哥一架飞往美国的客机起飞后遭雷击 随后安全返航

HDR image reconstruction from a single exposure using deep CNN reading notes

每日一题:力扣:225:用队列实现栈

Oracle-控制文件及日志文件的管理

Powerful domestic API management tool

About the professional ethics of programmers, let's talk about it from the way of craftsmanship and neatness

【MySQL】Online DDL详解
随机推荐
GPS从入门到放弃(十四)、电离层延时
GPS from getting started to giving up (XVIII), multipath effect
HDU 2008 digital statistics
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
GPS從入門到放弃(十三)、接收機自主完好性監測(RAIM)
i.mx6ull搭建boa服务器详解及其中遇到的一些问题
重磅新闻 | Softing FG-200获得中国3C防爆认证 为客户现场测试提供安全保障
What is the difference between animators and animators- What is the difference between an Animator and an Animation?
Force buckle 575 Divide candy
CCNA Cisco network EIGRP protocol
3DMax指定面贴图
GPS从入门到放弃(二十)、天线偏移
解决项目跨域问题
GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
Insert sort and Hill sort
Common sense: what is "preservation" in insurance?
2022年6月国产数据库大事记-墨天轮
Make menuconfig has a recipe for target 'menuconfig' failed error
Leetcode question brushing (XI) -- sequential questions brushing 51 to 55
LeetCode学习记录(从新手村出发之杀不出新手村)----1