Ask Question
7 February, 19:08

You're programming an infinite loop. What must you include in your code to prevent crashes?

+3
Answers (2)
  1. 7 February, 20:33
    0
    You have to put repeat
  2. 7 February, 22:52
    0
    Usage of delay function in the code to prevent crashes when programming an infinite loop.

    Explanation:

    Nothing bad happens due to an infinite loop when it releases all the allocated memory before the loop ends. The issues arises when an infinite loop consumes resources inside the loop or creating a new memory allocation inside the loop. The code need to written in such a manner that when a loop does not exist in a certain time the error must be thrown to handle the infinite loop.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You're programming an infinite loop. What must you include in your code to prevent crashes? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers