Use C language to do it, plz

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Use C language to do it, plz

Post 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 26 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; }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply