ProAnswers.org

C language program to add numbers using pointers

#include
#include
void main()
{
int a[10],sum=0;
int *j;
int i,n;
clrscr();
printf(“How many elements you want to add:”);
scanf("%d",&n);
printf(“Enter element:”);
for(i=0;i