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 is a buffer in c?
Write a program to swap two numbers without using the third variable?
What are the different types of control structures in programming?
What is sizeof c?
Difference between strcpy() and memcpy() function?
How can you find out how much memory is available?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Did c have any year 2000 problems?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is else if ladder?
Explain how do you use a pointer to a function?
What are the uses of a pointer?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
How to get string length of given string in c?
What does %p mean?