当前位置:网站首页>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
边栏推荐
猜你喜欢

Yyds dry goods inventory C language recursive implementation of Hanoi Tower

CCNA Cisco network EIGRP protocol

Xiaoman network model & http1-http2 & browser cache

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

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

GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差

Leetcode learning records (starting from the novice village, you can't kill out of the novice Village) ---1

UNI-Admin基础框架怎么关闭创建超级管理员入口?

3DMAX assign face map

Shell product written examination related
随机推荐
[MySQL] online DDL details
设置状态栏样式Demo
How does the uni admin basic framework close the creation of super administrator entries?
Assembly and Interface Technology Experiment 6 - ADDA conversion experiment, AD acquisition system in interrupt mode
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
经纪xx系统节点VIP案例介绍和深入分析异常
Solve project cross domain problems
Report on technological progress and development prospects of solid oxide fuel cells in China (2022 Edition)
AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
Unity3D学习笔记6——GPU实例化(1)
基于LM317的可调直流电源
Write a rotation verification code annotation gadget with aardio
What is the difference between animators and animators- What is the difference between an Animator and an Animation?
VIP case introduction and in-depth analysis of brokerage XX system node exceptions
Kohana 数据库
Lora sync word settings
Oracle Performance Analysis 3: introduction to tkprof
【MySQL】Online DDL详解
Xiaoman network model & http1-http2 & browser cache