2D Arrays
Here’s an array with 10x20 elements:int arr[10][20];
arr is now the same as &(arr[0][0])
There are 10 rows and 20 columns
the data is stored in row sequential format, so arr[2][5] is the same as arr[0][2*20+5]
Name Type Same asarr arr[0]arr[2]arr[2][5]
Example:int **ppa;ppa = arr; /* points to arr[0] */ppa = arr[2] /* points to arr[2] */*((*ppa)+3) = 7; **(ppa+3) = 7;