Given the following code snippet, what is this program calculating?
for (int i = 0; i < n; i++) { sum += arr[i]; } sum /= n;
Answer is : Your code will calculate Average of Array elements
Proof:
Get Answers For Free
Most questions answered within 1 hours.