当前位置:网站首页>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
边栏推荐
- labelimg的安装与使用
- HDR image reconstruction from a single exposure using deep CNNs阅读札记
- Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
- What is the difference between animators and animators- What is the difference between an Animator and an Animation?
- Unity3d Learning Notes 6 - GPU instantiation (1)
- 【sciter】: 基于 sciter 封装通知栏组件
- PVL EDI 项目案例
- GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
- 插入排序与希尔排序
- Oracle Performance Analysis 3: introduction to tkprof
猜你喜欢

Yyds dry goods inventory C language recursive implementation of Hanoi Tower

GNN, please deepen your network layer~

小满网络模型&http1-http2 &浏览器缓存

GPS从入门到放弃(十九)、精密星历(sp3格式)

C#實現水晶報錶綁定數據並實現打印4-條形碼

C # realizes crystal report binding data and printing 4-bar code

第4章:再谈类的加载器

嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利

labelimg的安装与使用

【MySQL】Online DDL详解
随机推荐
[daily] win10 system setting computer never sleeps
2021 geometry deep learning master Michael Bronstein long article analysis
GPS从入门到放弃(二十)、天线偏移
AI 企业多云存储架构实践 | 深势科技分享
HDU 2008 digital statistics
Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
Powerful domestic API management tool
CCNA-思科网络 EIGRP协议
GNN,请你的网络层数再深一点~
LeetCode学习记录(从新手村出发之杀不出新手村)----1
2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
Anaconda installs third-party packages
GPS from getting started to giving up (XI), differential GPS
China 1,4-cyclohexanedimethanol (CHDM) industry research and investment decision-making report (2022 Edition)
硬件開發筆記(十): 硬件開發基本流程,制作一個USB轉RS232的模塊(九):創建CH340G/MAX232封裝庫sop-16並關聯原理圖元器件
Wechat red envelope cover applet source code - background independent version - source code with evaluation points function
GNN, please deepen your network layer~
【sciter Bug篇】多行隐藏
Mongodb (III) - CRUD
zabbix 代理服务器 与 zabbix-snmp 监控