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 w
string1
string2
I have corrected the program. Please find the changes below
void reverse(char s1[],char s2[],int n,int j) { if(n>0) { s2[j]=s1[n-1]; reverse(s1,s2,--n,++j); } else s2[j]='\0'; }