- 2
Fill in the blanks to calculate the sum of all elements in the array "arr" using an enhanced for loop
int res=0; _(int el_ arr) { res +=_ ; } who know this answer _
2 Answers
+ 1
for
:
el
+ 1
int res=0; _(int el_ arr) { res +=_ ; } who know this answer _