Page 1 of 1

Use C language to do it, plz

Posted: Fri Apr 29, 2022 6:55 am
by answerhappygod
Use C language to do it, plz
Use C Language To Do It Plz 1
Use C Language To Do It Plz 1 (74.98 KiB) Viewed 27 times
Write a function char* stringCombine (char *dest, char *src) a to add the string stored in src to the end of dest. The function strcat is NOT allowed to use. string.h CANNOT be included. You may assume that dest always has enough space to include src. The main function is as follows: int main() { char str1[20], str2 [20]; scanf("%s%s", stri, str2); stringCombine (str2, stri); printf("%s\n", str2); return 0; }