Infinite loop
Programming idiom / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Infinite loop?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
This article is about the programming term. It is not to be confused with Infinite Loop (street) or Infinite Loop (book).
"Endless loop" redirects here. Not to be confused with Endless Loop (album).
In computer programming, an infinite loop (or endless loop)[1][2] is a sequence of instructions that, as written, will continue endlessly, unless an external intervention occurs, such as turning off power via a switch or pulling a plug. It may be intentional.
There is no general algorithm to determine whether a computer program contains an infinite loop or not; this is the halting problem.