title: Mixed dynamic and static allocation
body: <p>I have a 3D array as such
  <code>char **arr[1];</code></p>
  
  <p>I have it dynamically allocated like that:</p>
  
  <pre><code>*arr = calloc(10, sizeof(char*)); // Will be using 0-9
  for(i = 0; i &lt; 10; i ++)
      *arr[i] = malloc(3); // will be using 0-2
  </code></pre>
  
  <p>It crashes. Even though, I can't provide you with the entire library, in which I read/write to that array, but the answer of the question <strong>is the allocation correct</strong>, will help me debug and throw out the possibility of wrong or impossible allocation.</p>