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...

Write a programe print the sum of series 0,1,2,.....10

Answer Posted / s.m.jyo

main()
{
int i;
printf("sum of series is:");
for(i=0;i=10;i++)
i=i+i;
scanf("%d",&i);
printf("%d",i);
}

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what will be the output for the following main() { printf("hi" "hello"); }

10950


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1083


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1243


What is an example of structure?

1027


What is a null string in c?

1024


Add Two Numbers Without Using the Addition Operator

806


How can I do serial ("comm") port I/O?

1168


write a progrmm in c language take user interface generate table using for loop?

2040


What is difference between structure and union with example?

1038


What is #line in c?

1000


What is the difference between near, far and huge pointers?

1072


Give me the code of in-order recursive and non-recursive.

1360


Is a house a shell structure?

1146


How can you find the exact size of a data type in c?

993


Explain the Difference between the New and Malloc keyword.

1119