Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, March 11, 2015

What is strcat() function ?

The strcat() is a library function of string.h header file. The strcat() function is used to concatenate two strings into one string. In other word, to join two strings we use strcat() function.
The strcat() function append a string into another string.
sy:
strcat(string1, string2);
Here the string2 is appended into sting1 i.e. string2 is put at the end of string1.
ex:
strcat(str, str2);
strcat( str1, ”hello” );
strcat( strcat( str1, str2), str3);



No comments:

Post a Comment