- 54
- 0
- 约8.53千字
- 约 11页
- 2017-07-20 发布于河南
- 举报
指向数组的指针(Pointer to an array)
指向数组的指针(Pointer to an array)
If I have a definition int (* p) [3]; A pointer variable called p is defined, indicating that p is a pointer variable, which can point to a two-dimensional array of three integers (int) elements in each row.
P is a pointer to a one-dimensional array.
So this is the first thing to understand that (* p) [3] is a pointer variable that points to a one-dimensional array, which means that the pointer is to a pointer to an array that contains three elements,
So each time you add 1 to the p pointer, you add 6 to the address in the p, and you have 2 bytes in int, 4 bytes in
您可能关注的文档
- 太阳能电池词汇(Solar cell vocabulary).doc
- 奇巧神秘的结构_响彻时空的旋律_论_(The mysterious structure _ the melody _ of time and space).doc
- 奇迹全装备美化BMD文件对应(Marvel all equipped to beautify the BMD file correspondence).doc
- 奇迹刷装备列表(Marvel brushes the list of equipment).doc
- 奥凯分析二次供水节能与防止水质污染的对策(O 'kai analyzes the countermeasures of energy conservation and prevention of water pollution in secondary water supply).doc
- 好听的粤语歌---推荐(Good cantonese song - recommendation).doc
- 好友 精美留言100句(100 words of good friends).doc
- 如何为软件项目成员定KPI(How to set kpis for software project members).doc
- 如何修复笔记本电池损耗!!!(How to repair notebook battery loss!!!).doc
- 如何买相机及相机的一些知识(How to buy some knowledge of camera and camera).doc
- 指弹吉他的一些心得(Point to some of the guitar lessons).doc
- 挤塑板生产工艺(Extruded plate production process).doc
- 挖掘机操作原理、(Principle of excavator operation,).doc
- 挖机客户维护(Excavator customer maintenance).doc
- 振兴东北老工业基地的税收政策取向(To revitalize the tax policy orientation of northeast old industrial base).doc
- 振动电机的应用范围、工作原理及使用规范(The application scope, working principle and usage specification of vibrating motor).doc
- 振动测量与设备故障诊断点击(Vibration measurement and equipment fault diagnosis click).doc
- 振动防堵器(Vibration-proof plug).doc
- 捕蟑螂的窍门(The knack of catching cockroaches).doc
- 换人不换人管理(Substitution Don't change management).doc
原创力文档

文档评论(0)