title: Converting 1D array to 2D array in C
body: <p>I recently wrote the following code :</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
    int **x;
    int arr[] = {1,2,3,4,5};
    x = (int**)arr;
  }
  </code></pre>
  
  <p>How can I print the contents of arr using x ? Also explain how can 1D array be converted to a 2D array ?</p>