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

What is variable initialization and why is it important?

1261


What are Macros? What are its advantages and disadvantages?

1164


Why is python slower than c?

1089


What are reserved words?

1112


What is calloc()?

1073


What is abstract data structure in c?

1048


Why #include is used in c language?

1054


What is c++ used for today?

1110


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2159


Why does everyone say not to use gets?

1107


What is the value of h?

1043


Write a program in c to replace any vowel in a string with z?

1128


What is context in c?

924


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1035


What is bash c?

1012