#include #include using namespace std; const int nrow = 2; // number of rows const int ncol = 3; // number of columns int z[nrow][ncol] = { {1, 2, 3}, {4, 5, 6} }; // 2d array of size nrow * ncol int main() { for (int i=0; i