While writing a program Geo uses while loop but forgets to update the loop variable. What will happen?

5 views

1 Answers

The loop variable inside the while loop must be updated otherwise the loop will not be terminated. The loop will be work infinitely.

5 views