Consider the following code:
%hashA = (“alpha”, “beta”, “gamma”, “alpha”);
%hashA = reverse(%hashA);
print $hashA{“alpha”};
What is the result of executing this code?
A.
The code outputs the following:
Alpha
B.
The code outputs the following:
Beta
C.
The code outputs the following:
Gamma
D.
The code fails at line 3.
C