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

In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1844


How can I use a preprocessorif expression to ?

1058


What are the benefits of organizational structure?

1019


Apart from dennis ritchie who the other person who contributed in design of c language.

1392


What is the deal on sprintf_s return value?

1129


What are the __date__ and __time__ preprocessor commands?

1108


Does c have an equivalent to pascals with statement?

995


When is the “void” keyword used in a function?

1495


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1769


cavium networks written test pattern ..

4080


What is assert and when would I use it?

998


Why isnt there a numbered, multi-level break statement to break out

1042


Why is #define used?

1273


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1084


What are reserved words with a programming language?

1131