CIW Exam Questions

What is the output of this code?

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?

A.
W

B.
X

C.
Y

D.
Z