Looks like you have a problem in the calling code. I tried to implement the strcat by myself, and I found the strcat . C library function strcat() - Learn C programming language with examples using this C standard library covering all the built-in functions. Write a pointer version of the function strcat that we showed in Chapter 2: strcat(s, t) copies the string t to the end of s. In computing, the C programming language offers a library function called strcat that allows one memory block to be appended to another memory block. The function strcat() concatenates two strings.
In C programming, strcat() concatenates (joins) two strings.
The strcat() function is defined in string. This file is part of the GNU C Library. This Original Code and all software distributed under the License are. Author: Mike DeMoney, NeXT Software, Inc.
The strcat() function shall append the null-terminated string pointed to by. In the C Programming Language, the strcat function appends a copy of the string pointed to by sto the end of the string pointed to by s1. Concatenate strings without strcat function.
C program to concatenate strings without using library function strcat of string.
Keine Kommentare:
Kommentar veröffentlichen
Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.