National_Instruments
200-500 · Question #104
What will be the value of $b after running the following code? $a = array('c', 'b', 'a'); $b = (array)$a;
The correct answer is B. array('c', 'b', 'a'). See the full explanation below for the reasoning.
Question
What will be the value of $b after running the following code? $a = array('c', 'b', 'a'); $b = (array)$a;
Options
- ATRUE
- Barray('c', 'b', 'a')
- Carray(array('c', 'b', 'a'))
- DNone of the above
How the community answered
(63 responses)- A8% (5)
- B84% (53)
- C3% (2)
- D5% (3)
Community Discussion
No community discussion yet for this question.