Question: DO NOT USE GLOBAL VARIABLES OR POINTERS please!! I really appreciate your help! Do not use global variables. Develop a C program that will detect

DO NOT USE GLOBAL VARIABLES OR POINTERS please!! I really appreciate your help!
Do not use global variables. Develop a C program that will detect palindrome for a set of integers stored in an array. At minimum, hard code the following arrays in your code for your program execution. myArray1[]={1,2,3,2,1); myArray201={1,2,3,4,1); myArray31)={1,2,3,3,2,1); myArray40)={1,2,3,4,2,1}:| For the given array sets, myArray and myArray3 are palindrome. Implement the following three functions to detect palindrome. These functions should be called from the main to perform the necessary operation. BootArcax Prints the array values. texerseArrex Accepts two arrays: a source and a target. Copies the source array elements in reverse to the target array. seveceAwax Compares two arrays and returns O if the arrays are the same, otherwise returns a non-zero. Use this return value in the main program to print out the status of the array (palindrome or not) The expected output of the program Array elements are: 1 2 3 2 1 The array is a palindrone Array elements are: 1 2 3 4 1 The array is not a palindrone Array e lenents are: 1 2 3 3 2 1 The array is a palindrome Array elements are: 1 2 3 4 2 1 The array is not a palindrone Your output should contain at least the above 4 arrays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
