title: Split 2D Array in C++/C to sub array
body: <p>I have a 2D Array <code>C[100][10]</code>,I want to split it column by column and insert in 1D Array like below :</p>
  
  <p><code>C[100][10]</code>  split to <code>C[0:100][0]</code> , <code>C[0:100][1]</code> , ... , <code>C[0:100][10]</code>
  and the insert splited arrays to 1D array like : <code>A[100] =C[0:100][0]</code></p>
  
  <p>I can do all of that with for-loops but take long time and time is critical for my project.
  is there any way to solve this problem excluding  for-loop</p>