CIW
1D0-437 · Question #81
Consider the following program code: @array = (10, Masami, 10..13, Niklas); for ($i = 1; $i < $#array; $i++) { print($array[$i] ); } What is the result of executing this program code?
The correct answer is A. The code will output the following. See the full explanation below for the reasoning.
Question
Consider the following program code:
@array = (10, Masami, 10..13, Niklas); for ($i = 1; $i < $#array; $i++) { print($array[$i] ); } What is the result of executing this program code?
Options
- AThe code will output the following:
- BThe code will output the following:
- CThe code will output the following:
- DThe code will output the following:
How the community answered
(33 responses)- A73% (24)
- B3% (1)
- C18% (6)
- D6% (2)
Community Discussion
No community discussion yet for this question.