Description
Write a C program to find the sum of integer elements in a one dimensional Array, this array has 10 elements which entered by user. Passing this array as an argument, use User Defined Functions to find the sum.
Input
Enter array elements:
Enter element 1: 1
Enter element 2: 2
Enter element 3: 3
Enter element 4: 4
Enter element 5: 5
Enter element 6: 3
Enter element 7: 7
Enter element 8: 8
Enter element 9: 9
Enter element 10: 1
Output
SUM of Elements in the Arry is: 43
SUM of Elements in the Arry is: 43