title: error: storage class specified for parameter
body: <pre><code>#include&lt;stdio.h&gt;
  
  int recursive(static int a,static int b){
      static int c = 100;
      if(c != 105){
          c++;
          a++;
          b++;
          recursive(a,b);
          printf("\n a : %d b : %d \n",a,b);
      }
      return 0;
  }
  
  
  int main(){
      int a = 10;
      int b = 1;
      recursive(a,b);
  }
  </code></pre>
  
  <p>Getting compilation error as below :</p>
  
  <pre><code>error: storage class specified for parameter ‘a’
  error: storage class specified for parameter ‘b’
  </code></pre>
  
  <p>Why can't we declare the functions parameters as static. The above program when passed with parameters as <code>int</code>, compiles fine and gives the expected output.</p>