how is the execution of a while loop terminated
While loop Note that it is possible, and in some cases desirable, for the condition to always evaluate to true, creating an infinite loop. When such a loop is created intentionally, there is usually another control structure (such as a break statement) that controls termination of the loop. For example:
The Song That Never Ends "The Song That Doesnâ€™t End" (originally, "The Song That Doesn't End") is a self-referential and infinitely iterative children's song. The song appears in the album Lamb Chop's Sing-Along, Play-Along by puppeteer Shari Lewis. It is a single verse long song, written in an infinite-loop motif in a march style, such that it naturally flows in a cyclical fashion, repeating the same verse over and over. It is still a very popular tune, typically sung during long car journeys. The song was written by writer/composer Norman Martin in 1988. Initially, some people started singing the song without understanding exactly what it was. However, they continued singing it just because it was a never ending song. [1][2][3]