title: Return a dynamically allocated array? (C)
body: <p>Consider the given 2d array allocation: </p>
  
  <pre><code>int (*some)[10] = malloc(sizeof(int[10][10]));
  </code></pre>
  
  <p>This allocates a 10 x 10 2d array. Apparently its type is <code>int (*)[10]</code>. I want to write a function <code>initialize()</code> that will allocate it, initialize it and then return a pointer to the array, so that the construction <code>some[i][j]</code> would be usable in other functions which can pass a pointer to the array it onto each other. </p>
  
  <p>What should the prototype, specifically the return type of <code>initialize()</code> be? </p>