nerdexam
CIW

1D0-437 · Question #48

Consider the following program code: @array - ( "Y", "W", "X"); @array = sort (@array); unshift(@array, "Z"); print($array[0]); What is the output of this code?

The correct answer is D. Z. See the full explanation below for the reasoning.

Question

Consider the following program code:

@array - ( "Y", "W", "X"); @array = sort (@array); unshift(@array, "Z"); print($array[0]); What is the output of this code?

Options

  • AW
  • BX
  • CY
  • DZ

How the community answered

(15 responses)
  • A
    7% (1)
  • C
    13% (2)
  • D
    80% (12)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice