C program to Concatenate two strings without using string library function strcat()

Implementation of strcat() function with for loop.

Copy to Clipboard


Copy to Clipboard

If we are allowed to do the same program with string library function then following function is used to do the same task:


The above line will append content of str2 after content of str1.