Programming mistakes that will result in infinite loops.

Can somebody please list some common programming mistakes that will result in infinite loops, and also please explain why, thank you so much.
Anonymous User
Anonymous User
Asked Jan 22, 2012
int loop_value
int last_value = 100
for ( loop_value = 0; loop_value < last_value) {
---------------
* If you should increment last_value here (or anywhere inside the loop),
'loop_value' will always be less than 'last_value' so it will never exit the
loop
---------------
}
Rob
Answered Jan 23, 2012

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories