Question: 5. Write a program in C to compute the sum of all elements in an array using pointers. Test Data: Input 5 number of elements
5. Write a program in C to compute the sum of all elements in an array using pointers. Test Data: Input 5 number of elements in the array: 2 3 4 5 6 Expected Output: The sum of array is: 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
