title: Taking a 2D array and merging it into one
body: <p>I am trying to figure out how to merge a 2D array into one.</p>
  
  <p>I have a 2D array that looks as follows:</p>
  
  <pre class="lang-c prettyprint-override"><code>#include &lt;stdio.h&gt;
  
  #define ROW 2
  #define COL 10
  
  int
  main(void)
  {
    int array[ROW][COL] = {2,6,12,18,23,55,57,58,59,60} , {1,3,5,9,11,19,27,28,31,56};
  }
  </code></pre>
  
  <p>I was trying to use a nested for loop but wasn't having any luck.</p>