I am running this infinite for loop. Why is this for loop terminating after some time?
for(int i = 10; i > 0; i++) { }
But if I print something in this for loop then it is not terminating. Why so?
I am running this infinite for loop. Why is this for loop terminating after some time?
for(int i = 10; i > 0; i++) { }
But if I print something in this for loop then it is not terminating. Why so?