#include <stdio.h>
#include <string.h>
int main() {
char s1[10]="Tanishka";
char s2[10];
int len1,i;
len1=strlen(s1);
for(i=0;i<=len1;i=i+1)
{ if (s1[i]!='\0')
{ s2[i]=s1[len1-i-1];
} }
    printf("%s",s2);
} 

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: