DMP - Chapter 10


Arrays and Pointers

Array initialization

Pointers to arrays

Functions, arrays, and pointers

int sum(int *array, int size)

Pointer operations

Multidimentional arrays

float rain[5][12];
int row_matrix[12][12];
static char fruit[3][2] = {'B', 'A', 'N', 'A', 'N', 'A'};
static int sq[2][3] = { {5, 6}, {7, 8} };
double 3_d[10][12][8];
short multi[3][5][100][4];

Pointers and multidimentional arrays.



Go to Ich's Home Page
Go to the Peabody Home Page
For comments or questions email to: ich@peabody.jhu.edu