title: Recursion with strings
body: <p>i need to write a recursion function thats gets a string and then print only letters (captial &amp; small) from the end to start</p>
  
  <pre><code>for exemple:
  str={"abc123#@!456DEF&amp;^65gHj"}
  Reducing(str);
  output: jHgFEDcba .
  </code></pre>
  
  <p>but im stuck on the part of how to get the function go on to the next char
  all i can do is print the last char and thats it im stuck... please help</p>
  
  <pre><code>here's my code:
  
  void Reducing(char str[])
  {
      if (str[0] == '\0')
          return ;
  
      if ((str[strlen(str)-1] &lt;= 122 &amp;&amp; str[strlen(str)-1] &gt;= 97) || (str[strlen(str)-1] &lt;= 90 &amp;&amp; str[strlen(str)-1] &gt;= 65))
          putchar(str[strlen(str)-1]);
  
      Reducing(str+(strlen(str)));
  }
  </code></pre>