That kind of loop is referred to as an Infinite Loop. It occurs when the exit conditions can never be met or when the programmer fails to supply an exit.
For example:
Do while (1>0)
(that will loop forever because 1 is always greater than 0)
Infinite loop.
then your program will never ends, too unless you pressing the ctrl+c or kill it through your os. can i know the purpose of you creating the loop that never ends? is it just a mistake or are you doing it on purpose?
to prevent loose ends
The continue statement is not actually used when it is the last statement of the body of the loop. Plus: outside any loop it is rarely or never used.
The Coldstone Creamery on Delmar Loop, University City, MO, never opened. There was a sign in the window for more than a year that said it was coming soon and it never came. The sign was eventually taken down.
Infinite loop.
What do you call a number that never ends
then your program will never ends, too unless you pressing the ctrl+c or kill it through your os. can i know the purpose of you creating the loop that never ends? is it just a mistake or are you doing it on purpose?
A non-terminating decimal.
You don't, it never ends.
A scarf without ends is called an infinity scarf because it is a continuous loop without distinct ends. It can be worn by looping it around the neck without any need to tie it or wrap it like a traditional scarf.
Twisted loop reins are simply reins that have a twisted loop at the ends where the reins attach to the bit.
To tie a knot with two ends, cross the two ends over each other to form a loop. Then, pass one end through the loop and pull both ends tight to secure the knot.
Most people call it the horizon.
it never ends
To tie an overhand loop knot, make a loop with the rope and pass the end through the loop. Tighten the knot by pulling both ends of the rope.
The for loop has an initializer, an end condition, a loop expression, and a body. The initializer always runs. If the end condition is not satisified, the loop ends or never starts. The loop expression runs at the end of each iteration. Note that the body of a for loop can run no times. The do while statement has a body and an end condition. The body is executed, and then the end condition determines if the loop will iterate. Like the for loop, the loop expression runs at the end of each iteration. Note that the body of a do while loop will run at least one time.