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


Assignment #11: Due Dec. 14, 1995.

p. 357: #11

Assignment #10: Due Dec. 7, 1995.

p. 356: #2, 3, 4, 5
Go to Ich's Home Page
Go to the Peabody Home Page
For comments or questions email to: ich@peabody.jhu.edu