Help me in solving ARRAYMCQ1 problem

My issue

why option 1 is wrong

Learning course: Arrays using C++
Problem Link: CodeChef: Practical coding for everyone

@amitkumar7007
option 1 is wrong because for i==1 it will check A[i-1] which is A[0] and they have consider 1 based indexing so this will give run time error.

The Answer is MCQ4 because when you start indexing array from 1, it should end with nth element and just because you are comparing I and I-1 indexes the comparing should start from i=2 to i=N-1