Question: I have to create a function in C++ int largestIndex (const int myArray[], int arraysize, int largest Indexes[]) largestIndex function is to find the indexes

I have to create a function in C++
int largestIndex (const int myArray[], int arraysize, int largest Indexes[]) largestIndex function is to find the indexes of largest elements in the array named myArray with arraysize elements. The resulting indexes are stored into the array largestIndexes. The function is to return the number of the largest elements in myArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
