*Program in C*
It is often times advantageous to be able to transfer data between two arrays. Need a help with program (transfer.c) that add a range (by start index and end index) of numbers from array #1 to array #2 at a given position (index) while removing them from array #1 .
Example input/output:
Enter the length of the array #1: 8
Enter the elements of the array #1: 9 12 8 41 38 12 67 49
Enter the length of the array #2: 3
Enter the elements of the array #2: 11 27 6
Enter the start and end index of array #1 to be removed: 2 5
Enter the position (index) of the array #2 to be added before: 1
Output array #1: 9 12 67 49
Output array #2: 11 8 41 38 12 27 6
In the main function, declare the input and output arrays for array #1 and array #2, calculate and display the output arrays.