CIW
1D0-437 · Question #55
Consider the following code: %chars = ("a", "100", "b", "90", "c", "80"); Which one of the following choices will reverse the key/value pairing of the code?
The correct answer is B. %chars =reverse(%chars). See the full explanation below for the reasoning.
Question
Consider the following code:
%chars = ("a", "100", "b", "90", "c", "80"); Which one of the following choices will reverse the key/value pairing of the code?
Options
- Areverse(%chars);
- B%chars =reverse(%chars);
- Creverse(%chars) = %chars;
- Dinvert(%chars);
How the community answered
(19 responses)- B84% (16)
- C11% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.