yashan has written 70 articles

Strcat() function in C – Concatenate strings

The strcat() function is used for string concatenation in C programming language. It means it joins the two strings together. Its syntax is as follows – strcat(string1,string2); String1 and string2 are character arrays. It concatenates (joins) second string at the end of the first string. It does so by removing the null character at the…