当前位置:网站首页>Pointer concept & character pointer & pointer array yyds dry inventory
Pointer concept & character pointer & pointer array yyds dry inventory
2022-07-03 22:26:00 【Mango_ Mango】
1. The concept of pointer
1. A pointer is a variable , It's used to store the address , The address uniquely identifies a piece of memory space
2. The size of the pointer variable is fixed as 4/8 Bytes (32/64 Bit platform )
3. Pointers are typed , The type of pointer determines the pointer ± Integer step size , Pointer dereference permission
2. Character pointer

Because constant strings cannot be modified , So you can use const Better decoration , When compiling like this , If someone changes , Just report the mistake directly

Exercises
Print structure
str1 and str2 are not same
str3 and str4 are same
reason :
3. Pointer array - It's an array
Pointer array stores the array name of integer array
It's like a two-dimensional array ,
parr[i] : Get the subscript i The starting address of the array , Equivalent to getting the array name ,
parr[i][j]: Get the subscript i The subscript in the array of is j The elements of
边栏推荐
- Morning flowers and evening flowers
- Conditional statements of shell programming
- Rest参考
- js demo 计算本年度还剩下多少天
- 2022 free examination questions for safety management personnel of hazardous chemical business units and reexamination examination for safety management personnel of hazardous chemical business units
- Pan Yueming helps Germany's Rochester Zodiac custom wristwatch
- This time, thoroughly understand bidirectional data binding 01
- Cesium terrain clipping draw polygon clipping
- The latest analysis of R1 quick opening pressure vessel operation in 2022 and the examination question bank of R1 quick opening pressure vessel operation
- Classification and extension of OC
猜你喜欢

Programming language (1)

Awk getting started to proficient series - awk quick start

How to solve the problem of computer networking but showing no Internet connection

540. Single element in ordered array

Es6~es12 knowledge sorting and summary

2022 safety officer-a certificate registration examination and summary of safety officer-a certificate examination
![[flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list](/img/db/b992d2b461ca17652518a1511b4947.gif)
[flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list
![[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)](/img/1d/044e81258db86cf34eddd3b8f5cf90.jpg)
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)

2 spark environment setup local

Kali2021.4a build PWN environment
随机推荐
The reason why the computer runs slowly and how to solve it
pivot ROP Emporium
Buuctf, misc: sniffed traffic
Investment analysis and prospect trend prediction report of China's boron nitride industry Ⓨ 2022 ~ 2028
Is the account opening of Guotai Junan Securities safe and reliable? How to open Guotai Junan Securities Account
Pan Yueming helps Germany's Rochester Zodiac custom wristwatch
Mindmanager2022 serial number key decompression installer tutorial
1068. Consolidation of ring stones (ring, interval DP)
Es6~es12 knowledge sorting and summary
[SRS] build a specified version of SRS
Correlation
How to obtain opensea data through opensea JS
DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
How to restore the factory settings of HP computer
WiFi 2.4g/5g/6g channel distribution
Overview of Yunxi database executor
LeetCode 1646. Get the maximum value in the generated array
Leetcode: a single element in an ordered array
[automation operation and maintenance novice village] flask-2 certification
[dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)