Parameters
- destination
- Pointer to the destination array, which should contain a C string, and be large enough to contain the concatenated resulting string.
- source
- C string to be appended. This should not overlap destination.
Return Value
destination is returned.Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Output:
these strings are concatenated. |
See also
| strncat | Append characters from string (function) |
| strcpy | Copy string (function) |
| memcpy | Copy block of memory (function) |
