Array Index validity conditions


#1


#2

Option B is correct.

You can clearly see that if you leave statement I then there won’t be any problem. But if you leave any of Statement II or III then you will end up violating at least one constraint…


#3

B is right answer.
II & III are necessary conditions and cannot be neglected. You will need both for index validation.