This program is not working right. the copy array is the same asthe first array, but when i start running the search and so, itputs garbage in my copy array from now on. What am i doing wrong.Plus I can not use dynamic arrays. ignore copyArray function.COMMENTS NEED TO BE CHANGED UP CAUSE I HAD IT DYNAMIC ARRAYAND FOUND OUT I WASN”T SUPPOSE TO HAVE DYNAMIC ARRAYS.
void endCredits(); //void function that displays endcredits
void displayArray(char[], int); //void function that displaysarray
void sequentialSearch(char[], int&, char,int&); //voidfunction : Linear Search
void copyArray(char[], char[], int); //char function that keeps theoriginal array
void selectionSort(char[], int&, int); //void function:selection
OR
OR