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 / sevak.yatrik777

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1724


Where are c variables stored in memory?

1079


Define macros.

1283


What is a nested loop?

1138


Where is c used?

1100


What are the types of macro formats?

1128


What is wrong with this program statement? void = 10;

1261


Why c is called free form language?

1024


Tell us two differences between new () and malloc ()?

1203


What is #include stdlib h?

1112


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1062


Can we change the value of static variable in c?

1035


Explain what are the __date__ and __time__ preprocessor commands?

1131


Is it better to use a macro or a function?

1167


Explain the advantages of using macro in c language?

1006