title: C Compile Error: array type has incomplete element type
body: <pre><code>#include &lt;stdio.h&gt;    
  typedef  struct
      {       
          int   num ;
      } NUMBER ;
  
      int main(void)
      {   
          struct NUMBER array[99999];
          return 0;
      }
  </code></pre>
  
  <p>I'm getting a compile error: </p>
  
  <pre><code>error: array type has incomplete element type
  </code></pre>
  
  <p>I believe the problem is that I'm declaring the array of struct incorrectly. It seems like that's how you declare it when I looked it up.</p>