Function Strcat

#include<stdio.h>
main()
{
char blog1[50],blog2[50];
printf("Enter string 1.\n");
scanf("%s",blog1);
printf("Enter string 2.\n");
scanf("%s",blog2);

printf("Concatinated string - %s",strcat(blog1,blog2));
}

 

OUTPUT [Click to enlarge]:

Strcat

 

Leave a Reply

Your email address will not be published.