Code /* array4.cpp CIS 250 David Klick 2005-02-06 Demonstration of taking advantage of the fact that arrays (even multidimensional) are stored in contiguous memory locations. */ #include #include using std::cout; using std::endl; using std::setw; void displayMArray(int* p, int height, int width); int main(void) { int num[][3] = { {1, 2, 3}, {2, 4, 6} }; displayMArray((int*)num, 2, 3); return 0; } void displayMArray(int* p, int height, int width) { for (int row=0; row