Computer Science, asked by thu86, 1 year ago

You're programming an infinite loop. What must you include in your code to prevent crashes?
(a) downtime function
(b) wait function
(c) delay function
(d) hiatus function​

Answers

Answered by orangesquirrel
6

Answer:

The correct answer is (b) wait function.

Explanation:

When you are performing an infinite loop, you must include a wait function code.

A wait function is a special function which allows the child process to wait till one execution is still running.

This is mainly used in shell programming and it plays an important role in programming with infinite loops. When the wait function is executed, it returns -1 as an output.

Similar questions