title: error C2143: syntax error : missing ';' before 'type'
body: <p>I am new to programming C.. please tell me what is wrong with this program, and why I am getting this error: <strong>error C2143: syntax error : missing ';' before 'type'</strong>....</p>
  
  <pre><code>extern void func();
  
  int main(int argc, char ** argv){
      func();
      int i=1;
      for(;i&lt;=5; i++) {
          register int number = 7;
          printf("number is %d\n", number++);
      }
      getch();
  }
  </code></pre>