/* Program in C to concatenate two string. */
As an input we shall get two strings, like programming, earth and we need to concatenate this two string and form one string.
Example : string 1 => programming, string 2 => earth, result => programmingearth.
Store both the string in a variable. For concatenation of both string we can use method from string header files by include it. ( #include<string.h> ). And then we can use the method strcat(string1, string2). By default the result will be store in first string i.e. string1.
Skills learn :
Written with ♥ from Mangesh.