Which standard library function in C is used to concatenate two strings?
- strcat
- strcmp
- strconcat
- strcopy
The strcat function in C is used to concatenate (append) one string to the end of another. It takes two strings as arguments and modifies the first string to include the second one at the end.
Loading...
Related Quiz
- You are working on an application that requires fast data retrieval times. What method of file access would be most suitable?
- For efficient memory utilization in dynamic arrays, it is important to release the allocated memory using the function _________.
- In C, a pointer is a variable that stores the ________ of another variable.
- What is the impact on memory usage when using pointers to structures?
- What might be a reason to use bit fields when designing a system with strict memory constraints?