title: Initialising a dynamic length character array in a typdef struct
body: <p>I define a <code>struct</code> inside a header file which looks similar to:</p>
  
  <pre><code>#define BUFSIZE (500)
  
  typedef struct container {
     int file_descriptor;
     char file_content[BUFSIZE];
  }container;
  </code></pre>
  
  <p>Now, I want to have a variable BUFSIZE, such that the total characters that <code>file_content</code> can hold, reflects that. How could I make <code>file_content</code> a variable-sized character buffer array? It can be around 30-50KB. If I initialize it with 50KB, I will get the stack overflow error.</p>