strcat(): Concatenation of strings in C
We can use string function
strcat() to concatenate strings.
The second string is added at the end of the first string.
We will use this and here is one example.
The output of above code is here
char var2="welcome to ";
welcome to plus2net
- Source string is not affected
- Source string is added at the end of the destination string.
This article is written by plus2net.com team.