当前位置:网站首页>Pointer related concepts
Pointer related concepts
2022-06-12 14:52:00 【Leg hair Ger】
What is the pointer ?
1. A pointer is the number of the smallest cell in memory , That's the address
2. The pointer in spoken English , Usually refers to pointer variables , Is a variable used to store the memory address
summary : The pointer is the address , Colloquially speaking, pointer usually refers to pointer variable .
Pointer to the variable
We can go through &( Take the address operator ) Get the real memory address of the variable , The address can be stored in a variable , This A variable is a pointer variable
Pointer types
int Type a pointer , Operable four bytes



The type of pointer determines Pointer dereference operation , The size of the space that can be accessed ( Can manipulate a few bytes )
such as : char* Only one byte can be accessed by dereferencing the pointer of , and int* Four bytes can be accessed by dereferencing the pointer of .

Pointers add and subtract integers The type of pointer determines how big the pointer moves forward or backward ( distance , byte ).
边栏推荐
- Basic usage of scanner
- SQL cross database injection
- Phpstudy indicates that the hosts file may not exist or be blocked from being opened. How to resolve the failure of synchronizing hosts
- C 操作符
- Junit异常情况,断言异常信息不为空过的方法
- 指针相关概念
- NetCore结合CAP事件总线实现分布式事务——消息(2)
- 程序构造和解释之过程抽象
- Thinking: what is asynchrony and thread safety
- 交换数字,异或求单,操作符相关
猜你喜欢

Scala下载及IDEA安装Scala插件(保姆级教程超详细)

Jetpack architecture component learning (3) -- activity results API usage

C string

Ankai microelectronics rushes to the scientific innovation board: the annual revenue of 500million Xiaomi industry fund is the shareholder

Dataset and dataframe in sparksql

SQL cross database injection

C main函数

C data type

junit测试套件方法整理(方法二不太好用)

C 数据类型
随机推荐
Autofac浅学(2)
指针相关概念
NetCore结合CAP事件总线实现分布式事务——入门(1)
MySQL index and view
selenium-webdriver之断言
NetCore结合CAP事件总线实现分布式事务——消息(2)
C secret arts script Chapter 5 (structure) (Section 2)
你敢信?開發一個管理系統我只用了兩天
程序构造和解释之过程抽象
Leader education was forced to be delisted: Softbank CMC suffered heavy losses only one year after listing
Solution to the new database prompt on the pagoda panel that the database name cannot be greater than 16 bits
[wechat applet] 2 Environmental preparation
PHPstudy建站提示hosts文件可能不存在或被阻止打开,同步hosts失败怎么解决
[lambda operation jcf]
【LDA】基础知识笔记——主要是AE、VAE
函数相关事项
Serialization and deserialization mechanism in terms of games
数据的收集
Energy chain smart electronics landed on NASDAQ: Bain is the shareholder to become the first share of charging services in China
ADB control installation simulator