Computer Science
Answer
A loop which continues iterating indefinitely and never stops is termed as an endless or infinite loop. Such loops can occur primarily due to two reasons:
- Logical errors when the programmer misses updating the value of loop control variable.
- Purposefully created endless loops that have a break statement within their body to terminate the loop.