Question: In C++!!! #include using namespace std; Exercise 3.4: Write a function that receives as input two arrays of doubles of arbitrary length. The function should
In C++!!!
#include
using namespace std;

Exercise 3.4: Write a function that receives as input two arrays of doubles of arbitrary length. The function should returns an array of doubles that is made up of a concatenation of the two input arrays. Demonstrate your function in action in your main function by printing the full contents of the new array. Hint: you will need to use dynamic memory allocation to create the new array and you won't actually return an array, rather you must return a pointer. You should save the source in a file called
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
