Advertisement

Pointers and Multidimensional Arrays

  • Naveen Toppo
  • Hrishikesh Dewan
Chapter

Abstract

Multidimensional arrays are one of the most important programming constructs in any programming language. From 2D, 3D, and onward, arrays are considered to be multidimensional. There are various syntaxes in C that are used to access multidimensional arrays. These syntaxes can sometimes take a very cryptic form and become difficult to understand. This chapter gives insight into the memory layout of multidimensional arrays and the ways the array indices are accessed with the help of pointers.

Copyright information

© Naveen Toppo 2013

Authors and Affiliations

  • Naveen Toppo
    • 1
  • Hrishikesh Dewan
    • 1
  1. 1.KarnatakaIndia

Personalised recommendations