#include<stdio.h>
#include<string.h>
void main()
{
char a[100],b[100],c[100];
int i,j,n;
printf("\n Enter the first string:");
scanf("%s",&a);
printf("\n Enter the second string:");
scanf("%s",&c);
j=0;
n=strlen(a);
for(i=n-1;i>=0;i--)
{
b[j++]=a[i];
}
b[i]='\0';
printf("\n The string reverse is %s",b);
printf("\n The string concatenation is %s",strcat(a,c));
}
To embed this project on your website, copy the following code and paste it into your website's HTML: