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 is a buffer in c?

1014


Write a program to swap two numbers without using the third variable?

1082


What are the different types of control structures in programming?

1144


What is sizeof c?

1086


Difference between strcpy() and memcpy() function?

1162


How can you find out how much memory is available?

1079


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1707


Did c have any year 2000 problems?

1119


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1166


What is else if ladder?

1032


Explain how do you use a pointer to a function?

1121


What are the uses of a pointer?

1165


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1118


How to get string length of given string in c?

1073


What does %p mean?

1098