Question
Solution Preview
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
#include <iostream>using namespace std;
int lastLargestIndex(int[], int);
void main()
{
int arr[15] = { 5, 198, 76, 9, 4, 2, 15, 8, 21, 34, 99, 3, 6, 13, 61};
int location;
location = lastLargestIndex(arr, 15);
cout << "The last largest index is:" << location << endl;
}
int lastLargestIndex(int arr[], int size)
{...