National_Instruments
200-500 · Question #50
How many elements does the array $pieces contain after the following piece of code has been executed? $pieces = explode("/", "///");
The correct answer is C. 4. See the full explanation below for the reasoning.
Question
How many elements does the array $pieces contain after the following piece of code has been executed? $pieces = explode("/", "///");
Options
- A0
- B3
- C4
- D5
How the community answered
(54 responses)- A7% (4)
- B4% (2)
- C74% (40)
- D15% (8)
Community Discussion
No community discussion yet for this question.