title: Declaring a 2-dimensional array of unknown size, C
body: <p>I have an array declared as a member of a struct in C. The array is declared as:</p>
  
  <pre><code>char        mValue[MAXROWS][MAXCOLUMNS]; 
  </code></pre>
  
  <p>where  <code>MAXROWS</code> and <code>MAXROWS</code> are 300. Is there a better way to do this? I mean, should I declare these as pointers instead?</p>
  
  <p>Thanks!</p>