/* Sum of list - Program to calculate sum of list by passing an array to a function - May 2013 */ #include #include int findsum(int x[ ], int n) ; void main() { int i, n, x[50] ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d", &n) ; printf("Enter the elements: \n") ; for(i=0 ; i