Reverse a string using a recursive function
问题 I am currently studying C and I can't get past this exercise. I must create a recursive function to reverse string1 into string2 . Here is my code. I would gladly appreciate your help. #include <stdio.h> #define MAX 100 void reverse(char s1[],char s2[],int n,int j); int main() { char string1[MAX]="How Are You Mate"; char string2[MAX]=""; int n=0; int i=0; int j=0; for(i=0;string1[i]!='\0';i++) n++; reverse(string1,string2,n,j); printf("String-a normal:\n%s\n",string1); printf("String-a