title: Initialize an array in C without square brackets, malloc and calloc
body: <p>I was wondering if it was possible to initialize an array without square brackets, malloc or calloc. It's possible to alter and change values with calloc, why not without all this?</p>
  
  <pre><code>void initTab(int * tab, int size) 
  {
      for(int i = 0; i &lt; size; i++)
      {
          *(tab + i) = sizeof(int);
      } 
  }
  </code></pre>
  
  <p>This is only an example for editing values in arrays but it doesn't work if the array is not properly initialized.</p>
  
  <p>I want to replace this:</p>
  
  <pre><code>int * tab = calloc(nb_elements,sizeof(int));
  </code></pre>
  
  <p>Without calloc.</p>