nerdexam
National_Instruments

200-500 · Question #80

After running this sort, what will be the value of $b? $a = array('_!', 'def', 0); $b = sort($a);

The correct answer is D. None of the above. See the full explanation below for the reasoning.

Question

After running this sort, what will be the value of $b? $a = array('_!', 'def', 0); $b = sort($a);

Options

  • Aarray(0, 'def', '_!')
  • Barray('_!', 0, 'def')
  • Carray('def', 0, '_!)
  • DNone of the above

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    4% (1)
  • C
    4% (1)
  • D
    83% (19)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice