How many times the i will be checked during execution ?

7Comments
Sumit Verma @sumitkgp
16 Dec 2017 02:03 pm

3 times.

krishn kumar gupta @krishn2019
16 Dec 2017 09:34 pm

What will be checking?

First Option:1<3, 2<3 and 3<3 (Total 3 Checking)

Second Option: 0<3, 1<3, 2<3 and 3<3 (Total 4 Checking)

can you please brief?

Sumit Verma @sumitkgp
16 Dec 2017 10:17 pm

i is getting incremented in the loop.
So it will check First Option:1<3, 2<3 and 3<3 (Total 3 Checking)

Vaishnavi Joshi @vaishnavijoshi
16 Dec 2017 06:23 pm

3 times

yash wadhwani @yashwadhwani
21 Dec 2017 02:45 pm
3 times it will check.
Prateek Banra @prateekbanra
13 Feb 2018 12:44 pm
3 times
PARTHSARTHY @parthsarthy1
13 Feb 2018 08:32 pm
3