CIW
1D0-437 · Question #20
Consider the following code block: BEGIN {print ("Jan ");} BEGIN {print ("Feb ");} END {print ("Mar ");} END {print ("Apr ");} Print ("May "); What is the result of this code block?
The correct answer is A. Jan Feb May Apr Mar. See the full explanation below for the reasoning.
Question
Consider the following code block:
BEGIN {print ("Jan ");} BEGIN {print ("Feb ");} END {print ("Mar ");} END {print ("Apr ");} Print ("May "); What is the result of this code block?
Options
- AJan Feb May Apr Mar
- BJan Feb Mar Apr May
- CMar Apr May Jan Feb
- DMay Jan Feb Mar Apr
How the community answered
(18 responses)- A83% (15)
- C11% (2)
- D6% (1)
Community Discussion
No community discussion yet for this question.