1.

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

Answer»

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



Discussion

No Comment Found

Related InterviewSolutions