title: Static Multi Dimensional Arrays ( C/C++)
body: <p>Is memory allocated for multidimensional arrays in C or C++ always contiguous, or is the storage dependent on the compiler? If it is guaranteed to be contiguous is there a standard on it somewhere for reference? For example</p>
  
  <pre><code>int x[2][2] = { { 1 , 2 } , { 5 , 10 } } ;
  </code></pre>
  
  <p>Are the integers 1, 2, 5, 10 in sequence in memory ?</p>