E
emre esirik(hacettepe computer science and enginee
int i=0;
char word[50];
printf("enter the word");
scanf("%s",word);
reserve(word,i);
void reserve(char word[], int i)
{
if(word!='\0')
{
reserve(&word[i+1],i+1);
printf("%c",word[i+1]);
}
}
char word[50];
printf("enter the word");
scanf("%s",word);
reserve(word,i);
void reserve(char word[], int i)
{
if(word!='\0')
{
reserve(&word[i+1],i+1);
printf("%c",word[i+1]);
}
}