Question: write a program to concatenate a c-string to the end of another and submit at this link: Write the function append that accepts two c-string

write a program to concatenate a c-string to the end of another and submit at this link:

Write the function append that accepts two c-string arguments. the second c-string must be copied on to the end of the first c-string. You may assume the first character array has enough space to hold the additional cstring. Make sure that the first c-string has the proper nul-termation when you are done. You may not use any functions defined in the cstring library.

Write a main program to call append. It must define two character arrays, and initialize both with text. Make sure the first is large enough to eventually contain the data from both arrays. Output both arrays before and after calling append.

i need this in C++

Thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!