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
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Where are c variables stored in memory?
Define macros.
What is a nested loop?
Where is c used?
What are the types of macro formats?
What is wrong with this program statement? void = 10;
Why c is called free form language?
Tell us two differences between new () and malloc ()?
What is #include stdlib h?
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?
Can we change the value of static variable in c?
Explain what are the __date__ and __time__ preprocessor commands?
Is it better to use a macro or a function?
Explain the advantages of using macro in c language?