PrepAway - Latest Free Exam Questions & Answers

What is the result of executing this program code?

Consider the following program code:

%_Nifty = (one, two, three, four);
@NiftyKeys = sort(keys(%_Nifty));
foreach(@NiftyKeys)
{
print ($_Nifty{$_} . );
}
What is the result of executing this program code?

PrepAway - Latest Free Exam Questions & Answers

A.
The code will output the following:
one three

B.
The code will output the following:
four two

C.
The code will output the following:
two four

D.
The code will output the following:
four one three two

One Comment on “What is the result of executing this program code?


Leave a Reply