Use C language to do it, plz
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; }
Use C language to do it, plz
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Use C language to do it, plz
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!