Instance of variable : <p>I have a c code</p>

<pre><code>int foo( int *p, int n){

  int a[81];
  int i,v;

  for( i = 0; i &lt; n ; i++){
    a[i]=p[i]

  if( n == 1 ) return a[0];
  v=foo ( a, n-1);
  if( v &gt; a[n-1] )
    return v;
  else
    return a[n-1];
}

int main ( void ){
 int b[81], i;

  for( i = 0; i &lt; 81; i++){
    b[i]=rand();
  foo(b,81);
  return 0;
}
</code></pre>

<p>And i need to find out how many instances of variable a will exist( max number) my answer was 81 , but it was wrong and i cant find out what number it should be. How could i determine it?</p>
