title: How to allocate memory for a int array in a struct
body: <p>I have a struct</p>
  
  <pre><code> typedef struct
   {
    int size; //size of array
    int array*
   } 
  </code></pre>
  
  <p>How do I allocate memory for the int array using the size variable and <code>malloc</code>?</p>