const int SIZE = 10; int table[SIZE][SIZE]; for(int row = 0; row < SIZE; row++) { for(int col = 0; col < SIZE; col++) { cout << row << " " << col << endl; } }