___________ is used to exit the infinite loop.
Answers
Answered by
3
Answer:
ctrl + c is the answer according to me
Answered by
1
Answer:
To stop, you have to break the endless loop, which can be done by pressing Ctrl+C. But that isn't the way you want your programs to work. Instead, an exit condition must be defined for the loop, which is where the break keyword comes into play. ... If so, the loop is halted by the break statment.
Similar questions