Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, March 11, 2015

What is strcpy() function ?

The strcpy() function is used for copy s string into another string. String variable does not assign a string directly by assignment operator (=).

With the help of strcpy() function we can assign a value (characters) to a string.
Sy:
strcpy(string1, string2);
ex:
strcpy( string1, “Hello”);

 strcpy( str1, str2);

No comments:

Post a Comment