title: 2D array vs array of arrays
body: <p>What is the difference between a 2D array and an array of arrays?</p>
  
  <p>I have read comments, such as <a href="https://stackoverflow.com/questions/7949008/2d-array-manipulation-using-a-pointer-in-c/7949051#7949051">@Dave's</a>, that seem to differentiate between the two.</p>
  
  <blockquote>
    <p>This breaks if he's using 2d arrays, or pointer-to-array types, rather than an array of arrays. – Dave</p>
  </blockquote>
  
  <p>I always thought that both referred to:</p>
  
  <pre><code>int arr_arr[][];
  </code></pre>
  
  <hr>
  
  <p><strong>EDIT:</strong> @FutureReader, you may wish to see <a href="https://stackoverflow.com/questions/4810664/how-do-i-use-arrays-in-c/4810668#4810668">How do I use arrays in C++?</a></p>