If a program does not stop from looping what will you do
Answers
Answered by
4
This causes an infinite loop
while (true) {
// code
}
Exit the console to stop looping
while (true) {
// code
}
Exit the console to stop looping
Answered by
0
Terminated the program
Explanation:
- If the program continuous running in the loop it must be infinite loop However the infinite loop are those in which condition never reaches to its end state and the program continuously running.
- In this case we have to stop the execution of the program by terminating it we will terminated the program with the exit console however we also forcefully terminated the program by pressing the key.
Learn More:
- brainly.in/question/14321506.
Similar questions