Question: 1-4 In your main function in main-1-4.cpp, define and initialise a two-dimensional double array. Define (but do not initialize) another two-dimensional double array of the
1-4 In your main function in main-1-4.cpp, define and initialise a two-dimensional double array. Define (but do not initialize) another two-dimensional double array of the same size as the frst one. Write a function that copies the values of the first array into the second, this time using pointers. Signature: vold cpyda(double "old-array,double "ne"-array. nt length) ; Note: before accessing an array element, the pointer must be changed to point to the element. You may not use the & operator or [ notation in your function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
