Question: 10
(Choose 1 answer)
What is the function of the strcat(str1, str2) function in C?
A. Compare two strings: str1and str2
B. Appends the string pointed to, by str2 to the end of the string pointed to by str1.
C. Copies the string pointed to, by str2 to str1.
D. Finds the first occurrence of the entire string needle (not including the terminating null character) which
appears in the string haystack.