Computer Science, asked by mamido53333, 10 months ago

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

Answers

Answered by sawakkincsem
13

Answer:

Delay function

Explanation:

Infinite loops don't cause applications to crash instead in the infinite loops if your are allocating memory and not deallocating it then after a while the memory will run out of space and this will cause crash. It means that system resources are using in uncontrollable manner or overwriting memory.

We will use Delay function so that user is able to see GUI and respond to it.

Similar questions