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
What is calloc() function?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is the benefit of using const for declaring constants?
Explain Basic concepts of C language?
What is file in c language?
What are the two forms of #include directive?
What is the difference between void main and main in c?
What is size of union in c?
Why calloc is better than malloc?
Explain how can I write functions that take a variable number of arguments?
Which is best linux os?
Is printf a keyword?
How many loops are there in c?
What's a good way to check for "close enough" floating-point equality?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping