title: Reference parameters and recursion?
body: <p>im currently going over recursion, and was wondering if reference parameters can be altered and given different value within the function, and when returned recursively to that same function does the value change. This is my problem, cause its not compiling. 
  here is an example:</p>
  
  <pre><code>bool findnum_recur (int wanted, int &amp; num)
  {
      // if i want to increment num and call the function recursively   
  
      /*like this : */
  
      findnum_recur (wanted, num+1);
  
      // its giving me error, why and is there an alternative way
   }   
  </code></pre>