2 dynamically allocated array that form a thrid

Write a program that declares two dynamically allocated arrays of integers and appends the second array at the end of the first one to form the third one

Ive figured out how to so one dynamically allocated array but im having trouble with this code.
allocate A
allocate B
allocate C that is as long as A and B together
copy contents of A into C
copy contents of B into C

remember to deallocate appropriately
Topic archived. No new replies allowed.