#include <stdio.h>
#include <string.h>
char *reverse(char str[], int index)
{
printf("%c", str[index]);
if (index != 0)
reverse(str, index - 1);
}
int main()
{
char word[] = "hello world!";
reverse(word, strlen(word));
}
To embed this project on your website, copy the following code and paste it into your website's HTML: