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
What are multibyte characters?
What are the advantages of external class?
What is #define?
Explain how do you generate random numbers in c?
What are the advantages of c preprocessor?
How was c created?
If null and 0 are equivalent as null pointer constants, which should I use?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Is c high or low level?
int far *near * p; means
How can I get the current date or time of day in a c program?
Why c is a procedural language?
What are register variables? What are the advantage of using register variables?
Can a pointer be volatile in c?
Which is more efficient, a switch statement or an if else chain?