ShriRam Changed status to publish July 16, 2022
#include<stdio.h>
#include<string.h>
int main()
{
// Take any two strings
char src[50] = "This is my";
char dest[50] = "Computer ";
// Appends 5 character from src to dest
strncat(dest, src, 5);
// Prints the string
printf("Destination string : %s", dest);
return 0;
}
ShriRam Changed status to publish July 16, 2022