In C Language How to Use Pointer to Access Two-Dimensional Array Element

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 poi...

Full description

Saved in:
Bibliographic Details
Published inApplied Mechanics and Materials Vol. 347-350; pp. 3044 - 3050
Main Author Bai, Wei Qing
Format Journal Article
LanguageEnglish
Published Zurich Trans Tech Publications Ltd 01.08.2013
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary: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.
Bibliography:Selected, peer reviewed papers from the 2013 International Conference on Precision Mechanical Instruments and Measurement Technology (ICPMIMT 2013), May 25-26, 2013, Shenyang, Liaoning, China
ISBN:3037857846
9783037857847
ISSN:1660-9336
1662-7482
1662-7482
DOI:10.4028/www.scientific.net/AMM.347-350.3044