#include <stdio.h> #include<string.h> int main() { char arr1[10] = "Have a "; char arr2[10] = "good day!"; printf("The content of first string is : %s", arr1); printf("\n"); printf("The content of second string is : %s", arr2); printf("\n"); strncat(arr1,arr2,2); /* only first two characters from arr2 will be appended to the end of arr1 */ printf("The addition of two string is : %s", arr1); printf("\n"); printf("The content of second string : %s", arr2); return 0; }