Explain infinite loop with example.
Answers
Answered by
1
Answer:
sorry
Explanation:
I am really sorry I am really sorry
Answered by
1
An infinite loop occurs when a condition always evaluates to true. Usually, this is an error. For example, you might have a loop that decrements until it reaches 0. public void sillyLoop( int i ) { while ( i != 0 ) { i-- ; } }.
please mark me brain mark list
Similar questions