title: My way of reversing a String using recursion in C language
body: <p>I'm new here and new in programming field too.<br>
  I was given a task to reverse a string using recursion and I build a program for it. But I'm not sure whether it is using recursion or not? Here's the code:  </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  
  void reverse(char, long);
  
  int main(){
  
    char i[100];
    long c;
  
    gets(i);
    c = strlen(i);
  
    reverse(i,c);
    return 0;
  }
  
  void reverse(char x[100], long y){
  
    printf("%c", x[y-1]);
    if (y&gt;=0) {
        reverse(x, y-1);
    }
  }
  </code></pre>
  
  <p>I just want to know whether this program is using recursion for reversing the string or not? </p>