Computer Science, asked by PurbaSinha, 1 year ago

Explain infinite loop. how can we end an infinite loop?

Answers

Answered by pragyadas
3
An infinite loop (sometimes called anendless loop ) is a piece of coding that lacks a functional exit so that it repeats indefinitely. In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.
CTRL-Break, Break and CTRL-C didn't work for me, but CTRL-ESC-ESC did! (This was tested with almost identical code in Borland C++ 3.1). If you want to just pause your infinite loop in Turbo C then press the BREAK . If you want to get back to the editor of your program in Turbo C then press CTRL + BREAK .
if this helps you
plz marked as brainlist answer .....

pragyadas: plz marked as brainlist answer
PurbaSinha: I'm new in this app so I don't know how to marked it as a brainlist answer
PurbaSinha: I have marked
Answered by yillipillamalathi
2
An infinite loop is a sequence of instructions in a computer program which loops endlessly, either due to the loop having no terminating condition, having one that can never be met, or one that causes the loop to start over. 

Stop Execution. To stop execution of a MATLAB® command, press Ctrl+C or Ctrl+Break. On Apple Macintosh platforms, you also can use Command+. (the Command key and the period key).
Similar questions