What is the output of this code?

Consider the following program code
@array = (“Y”,”W”1″X”);
©array = sort(@ array);
unshift(@array, “Z”);
print(@array[0]);
What is the output of this code?

Consider the following program code
@array = (“Y”,”W”1″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



Leave a Reply 0

Your email address will not be published. Required fields are marked *