A program component that allows structuring of a program in an unusual way is known as
Answer: B
Correct answer: Coroutine
Ordinary procedures follow a strict call-and-return discipline. A coroutine instead suspends itself and hands control to another coroutine, later resuming exactly where it left off with its state intact, so two routines can advance in step - a structure that does not fit the usual hierarchy of calls.
Please log in or register to report this question.