contatenation string

#include <stdio.h>
#include <string.h>

int main()
{
  char y[100], x[100];

  printf("Enter the first string  : \n");
  gets(y);

  printf("Enter the second string  : \n");
  gets(x);

  strcat(y, x);

  printf("Concatenated string : %s\n", y);

  return 0;
}

OUTPUT :-





For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/

Post a Comment

0 Comments