In C Language How to Use Pointer to Access Two-Dimensional Array Element
Authors
Weiqing Bai
Corresponding Author
Weiqing Bai
Available Online February 2013.
- DOI
- 10.2991/isccca.2013.18How to use a DOI?
- Keywords
- c language, two-dimensional array, address, pointer
- Abstract
In C language, it is difficult to use the pointer to access the two-dimensional array element. The reason is the addresses of two-dimensional array are many, pointers that can access the two-dimensional array element are many and complex. This paper analyzes the two-dimensional array address and pointer, introduces various forms of using pointer to express two-dimensional array element, explains the relationship between pointer and two-dimensional array address. The program examples show how to use pointers to access the two-dimensional array element.
- Copyright
- © 2013, the Authors. Published by Atlantis Press.
- Open Access
- This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).
Cite this article
TY - CONF AU - Weiqing Bai PY - 2013/02 DA - 2013/02 TI - In C Language How to Use Pointer to Access Two-Dimensional Array Element BT - Proceedings of the 2nd International Symposium on Computer, Communication, Control and Automation (ISCCCA 2013) PB - Atlantis Press SP - 70 EP - 74 SN - 1951-6851 UR - https://doi.org/10.2991/isccca.2013.18 DO - 10.2991/isccca.2013.18 ID - Bai2013/02 ER -