Question: a 1.0 We have two array A and B, each of 10 integers. Write a function that tests if every element of array A is

a 1.0 We have two array A and B, each of 10 integers. Write a function that tests if every element of array A is equal to its corresponding element in array B. In other words, the function must check if A[] is equal to B[O], A[1] is equal to 1/1), and so forth. The function is to return true if all elements are equal and false if at least one element is not equal 10 2.0 Write a function that reverses the elements of an array so that the last element becomes the first, the second from the last becomes the second, and so forth. The function is to reverse the elements in place that is, without using another array. (It is permissible to use a variable to hold an element temporarily). Then write a test driver to test your function. Test it twice, once with an even number of elements in the array and once with an odd number of elements in the array. 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
