CIW PERL FUNDAMENTALS 1D0-437 Question # 36 Topic 4 Discussion

CIW PERL FUNDAMENTALS 1D0-437 Question # 36 Topic 4 Discussion

1D0-437 Exam Topic 4 Question 36 Discussion:
Question #: 36
Topic #: 4

Consider the following program code:

%color = (sun => yellow, apple => red);

reverse(%color);

@colorKeys = sort(keys(%color));

foreach(@colorKeys)

{

print($color{$_} . );

}

What is the result of executing this program code?


A.

The code will output the following:

apple sun


B.

The code will output the following:

sun apple


C.

The code will output the following:

red yellow


D.

The code will output the following:

apple red sun yellow


Get Premium 1D0-437 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.