Explain the Working of strcpy Function?
strcpy() : This function is meant to use to copy one string to another.
The strcpy function as well accepts two strings as arguments. Its first argument is usually an identifier that represents a string. The second argument is able to be a string constant or an identifier representing another string. The function copies the value of string2 to string1 therefore it effectively causes one string to be assigned to another.
example strcpy(string1, string2);