337 views
0 votes
0 votes

https://gateoverflow.in/394/gate2008-84

Here option A also leads to infinite loop right?

it gets stuch at index 8

because 8 + 9 / 2 = 8

it never reaches 9

Please log in or register to answer this question.

Related questions