simple array sum hackerrank solution in cpp

Simple Array Sum Hackerrank Solution

CODE:   Given an array of integers, find the sum of its elements. For example, if the array  ,  , so return  . Function Description Complete the  s…