Final answer:
The function used to concatenate one string to the back of another in C is strcat(). This function appends the second string to the end of the first string and ensures there is enough space in the first string to hold the concatenated result.
Step-by-step explanation:
To concatenate one string to the back of another in C, you would use the strcat() function. This function takes two strings as arguments; it appends the second string to the end of the first string and returns a pointer to the first string. An example of its usage would be strcat(firstString, secondString); where firstString is the base string to which secondString will be concatenated. It's important to ensure that the first string has enough space to hold the concatenated result.
The options strcpy(), strncat(), and strlcat() serve different purposes. The strcpy() function is used to copy one string to another, strncat() is for concatenating with a specified maximum number of characters, and strlcat() is a safer variant designed to handle size limitations specifically, which might not be standard in all C libraries.