Recursion increment clarify
<p>I have the following function:</p>

<pre><code>      int v[]={0,1,1,1};
      int f(int x)
      {
          if(x&gt;=1)  return v[x]+f(x-1);
          else return 0; 
      }
</code></pre>

<p>When I called it in main like so: <code>cout&lt;&lt;f(4);</code> It's outputting '4' but I expect to be '3'
Can someone clarify why I get '4' and not '3' ? (I think I'm missing something)</p>
