The function
int minPosition(int arr[ ], int size)
takes an array of integers of the given size and returns the index of the smallest element of the array. Define a template that works like this function, but permits as parameter arrays of any type that can be compared using the less-than operator<.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.