What is the simplest method of computing the sum of all the elements of an array?
By using the array_sum function
Correct:
By using the array_sum function
The array_sum function calculates the sum of all the elements of an array. Therefore, Answer
D is correct.