title: Point one array value to another value of the same array - C++
body: <p>Imagine I have the following code:</p>
  
  <pre><code>int* firstArray[4];
  fill_n(firstArray, 4, 0);
  //firstArray values are: 0, 0, 0, 0
  
  int* secondArray[4];
  fill_n(secondArray, 4, 1);
  //secondArray values are: 1, 1, 1, 1
  </code></pre>
  
  <p>Would there be a way to link the first value of firstArray to the first value of secondArray so that if I do:</p>
  
  <pre><code>secondArray[0] = 20;
  //secondArray values would be: 20, 1, 1, 1 (because I just changed it)
  //firstArray values would be: 20, 0, 0, 0 (because it's pointing to the value I just changed)
  </code></pre>
  
  <p>As far as I've tested and researched I can't do something along those lines.</p>
  
  <p>P.S.: This is to create a Samurai Sudoku (in which some chunks of numbers are shared), so when I modify a value that 2 sudokus share it would be updated in both.</p>