What possible outputs(s) will be obtained when the following code is executed?
Options:
a.
RED*
WHITE*
BLACK*
RED*
b.
YELLOW*
WHITE*
BLACK*
RED*
c.
WHITE* WHITE*
YELLOW* YELLOW*
BLACK* BLACK*
RED* RED*
d.
YELLOW*
WHITE*WHITE*
BLACK* BLACK* BLACK*
RED* RED* RED* RED* RED*
Answer
Answer by student:
b. YELLOW*
WHITE*
BLACK*
RED*
Detailed answer by teachoo:
The rest of the post is locked. Join Teachoo Black to see the full post.