Question:$grades = array(42, 98, 100, 100, 43, 12); sort($grades); print_r($grades); What will be the output? 

A Array ( [0] => 100 [1] => 100 [2] => 98 [3] => 43 [4] => 42 [5] => 12 ) 

B Array ( [0] => 12 [1] => 42 [2] => 43 [3] => 98 [4] => 100 [5] => 100 ) 

C Array ( [12] => 0 [42] => 1 [43] => 2 [98] => 3 [100] => 4 [100] => 5 ) 

D Array ( [3] => 98 [4] => 100 [5] => 100 [0] => 12 [1] => 42 [2] => 43 ) 

+ Answer
+ Report
Total Preview: 738

Copyright © 2024. Powered by Intellect Software Ltd