There is a one line error in the following routine. Find that line.
1. int Max(int a[], int n) 2. { 3. int mi, i; 4. for (mi = 0, i = 0; i < n; i++) 5. if (a[i] > a[mi]) 6. mi = i; 7. return mi; 8. }
Answer: b Explanation: The increment condition in the for loop declaration is incorrect. We should use ++i instead of i++.