title: Why does the variable in header file give an error?
body: <p>My Header file test.h contains two variables that are deined as:</p>
  
  <pre><code> #ifndef TEST_H_
   #define TEST_H_
  
   #define APPS 6;
   #define NODES 1;
  
   #endif;
  </code></pre>
  
  <p>I use it another header file called test2.h as follows:</p>
  
  <pre><code>#include"test.h"
  typedef struct {
         uint8 State[APPS];
  } AppState;
  </code></pre>
  
  <p>But I get an error in the test.h file saying </p>
  
  <pre><code>expected ']' before ';' token
  </code></pre>
  
  <p>Since there are no brackets I have no idea why I get this strange error. Could somebody please point out my mistake.Thank you</p>