nerdexam
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)
  • A
    83% (15)
  • C
    11% (2)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice