title: Malloc with structs in C
body: <p>I have a struct:</p>
  
  <pre><code>struct numbers_struct {
  char numbers_array[1000];
  };
  
  struct numbers_struct numbers[some_size];
  </code></pre>
  
  <p>After creating struct, there is an integer number as an input:</p>
  
  <pre><code>scanf("%d",&amp;size);
  </code></pre>
  
  <p>I need to use <code>malloc(size)</code> and specify the size of the array numbers. (instead of some_size use size)</p>
  
  <p>Is something like this possible in C?</p>