program:
#include <stdio.h>
#include <string.h>
int main()
{
char str1[100], str2[100];
printf("Enter the first string\n");
gets(str1); // Reading first string
printf("Enter the second string\n");
gets(str2); // Reading second string
// strcat is use to Concatenates two strings
strcat(str1,str2);
printf(" obtained string on concatenation is:%s\n",str1);
return 0;
}
output:Programs you may perform: