CIW
1D0-437 · Question #89
Consider the following program code: @arrayA = (10, 20, 30); @arrayB = @arrayA; $arrayB[1] = 40; print $arrayA[1]; What is the output of this code?
The correct answer is B. 20. See the full explanation below for the reasoning.
Question
Consider the following program code:
@arrayA = (10, 20, 30); @arrayB = @arrayA; $arrayB[1] = 40; print $arrayA[1]; What is the output of this code?
Options
- A10
- B20
- C30
- D40
How the community answered
(45 responses)- A13% (6)
- B73% (33)
- C9% (4)
- D4% (2)
Community Discussion
No community discussion yet for this question.