Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#include<stdio.h>
int SumElement(int *,int);
void main(void)
{
int x[10];
int i=10;
for(;i;)
{
i--;
*(x+i)=i;

}
printf("%d",SumElement(x,10));
}
int SumElement(int array[],int size)
{
int i=0;
float sum=0;
for(;i<size;i++)
sum+=array[i];
return sum;
}

output?

Answer Posted / mannucse

55

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how does flowchart help in writing a program?

1168


Explain what does a function declared as pascal do differently?

1344


explain how do you use macro?

1207


What does a function declared as pascal do differently?

1223


What is indirection?

1150


Why calloc is better than malloc?

1092


What are the two forms of #include directive?

1219


C language questions for civil engineering

1766


How can I open a file so that other programs can update it at the same time?

1238


What is methods in c?

1142


What is the default value of local and global variables in c?

1099


What are header files and what are its uses in C programming?

1335


Is flag a keyword in c?

1216


What is class and object in c?

1175


What is assert and when would I use it?

1064