title: Memory allocation for char array
body: <p>I have a big problem with C language when it comes to strings, <code>char *</code> 's or whatever... So in this particular case I have a huge problem. I want to create an array of chars and I don't know yet what size it will be. I want to write something like this:</p>
  
  <pre><code>char test[];
  </code></pre>
  
  <p>But, after that, when I will know how many elements there will be, I want to write something like this:</p>
  
  <pre><code>char test[num_of_elements];
  </code></pre>
  
  <p>though I know it's wrong and that I wouldn't be able to do that. So, how can I do this? How can I announce the array and then define it's size?</p>