Computer Science, asked by ssanjith, 10 months ago

for(int i=10;i>5;i++)
Is it a finite or infinite loop.​

Answers

Answered by Vyomsingh
0

Answer:

Bhai it is infinite loop because the condition you given in loop never met therefore loop run endlessly...

But if you change that post increament operator to post decrement operator then it became finite....

Explanation:

Similar questions