Code:
#include <iostream>
using namespace std;

int main() {
  int matrix [3][3];
  for (unsigned int i = 0; i < 3; ++i) {
    for (unsigned int j = 0; j < 3; ++j) {
      matrix [i][j] = 0;
    }
  }
  int** matrix_as_a_pointer = &(&(matrix[0][0]));
  return 0;
}
Why is it that I can't do this? What's the best way to have an int** for a matrix on the stack? Thank you in advance.