String Concatenate - C Programme to concatentae two strings.



In this program, two strings concatenated using strcat( ) function and result is displayed in Output.

strcat( ) function in C language concatenates two given strings. It concatenates source string at the end of destination string. Syntax for strcat( ) function is given below.
char * strcat ( char * destination, const char * source );

Programme :

Output :
Enter the First String
Parth
Enter the Second String
Ravrani
String after concatenation is ParthRavrani


Follow me on:

Comments