title: Iterating 2D array with pointer expressions in C
body: <p>I'm practicing pointers and want to substitute pointer operations in place of the arrays to traverse through the elements of the array. I have read numerous articles and cannot grasp this concept. Can someone explain?</p>
  
  <p>Here I made a 2D array and iterated through it using a basic nested for-loop, but want to use pointers;</p>
  
  <pre><code>int test[3][2] = {1,4,2,5,2,8};
  
  for (int i = 0 ; i &lt; 3; i++) {
  
      for (int j = 0; j &lt; 2; j++) {
  
          printf("%d\n", test[i][j]);
      }
  }
  </code></pre>