0

Q.22 pls explain why the answer is option e

Comments
  • 2
    Because variable number has an initial value of 1 and inside loop it is incremented with the value of testum.

    The only way for "number" to become == 3 is if testum has the value of 1 or 2, otherwise the condition will be never met and the loop will be infinite.
  • 1
    @CoffeeAndHate got it, thanks mate
Add Comment