結果 : program to compute the sum of all elements in an array using pointers