बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

calculate sum of all array element by using dynamic array

calculate sum of all array element by using dynamic array,sum of elements in an array java,c program to find sum of array elements,write a program to find the sum of the corresponding elements in 2 arrays,c program to find sum of array elements using functions,c program to find sum of array elements using recursion,c program to find sum of array elements using pointers,wap to sort an array using pointers,using c language, 


#include"stdio.h"
#include"conio.h"
#include"alloc.h"
void main()
{
int *p,i,n,sum=0;
clrscr();
printf("Enter the size of an array=");
scanf("%d",&n);
p=(int*)malloc(n*size(int));
for(i=0;i"n;i++)
{
printf("\n\nEnter %d number",i+1);
scanf("%d",p+i);
sum=sum+ *p+i;
}
printf("\n\n\nSum of Array is= %d",sum);
getch();
}


calculate sum of all array element by using dynamic array,sum of elements in an array java,c program to find sum of array elements,write a program to find the sum of the corresponding elements in 2 arrays,c program to find sum of array elements using functions,c program to find sum of array elements using recursion,c program to find sum of array elements using pointers,wap to sort an array using pointers,using c language, 


C Program example List