Write a programe print the sum of series 0,1,2,.....10
Answer Posted / athiyaman
#include<stdio.h>
void main()
{
int i,sum=0;
for(i=0;i<=10;i++)
sum=sum+i;
printf("sum=%d",sum);
}
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How reliable are floating-point comparisons?
What is the difference between exit() and _exit() function?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is the use of clrscr?
What is return type in c?
How can I recover the file name given an open stream or file descriptor?
Describe dynamic data structure in c programming language?
Explain how do you sort filenames in a directory?
What is pivot in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Explain goto?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What is meant by type casting?
What is meant by keywords in c?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above