/* CONCATINATION OF TWO STRINGS */
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i,j;
char s1[50],s2[50],s[100];
printf("\nInput first string=");
scanf("%s",&s1);
printf("\nInput second string=");
scanf("%s",&s2);
for(i=0;s1[i]!='\0';i++)
{
s[i]=s1[i];
}
for(j=0;s2[j]!='\0';j++)
{
s[i+j]=s2[j];
}
printf("\n\n\nS=%s",s);
getch();
}