title: Pointer Arithmetic for a 3D Array
body: <p>I know how pointers work for a 1D and 2D array, but I'm trying to figure it out for a 3D array.</p>
  
  <p>For a 1D array:</p>
  
  <pre><code>V[i] ==&gt; *(V+i)
  </code></pre>
  
  <p>for a 2D array with C columns</p>
  
  <pre><code>M[i][j] ==&gt; *(M+(C*i+j))
  </code></pre>
  
  <p>What would be the pointer arithmetic for a 3D array? </p>