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
How many levels of pointers can you have?
What is const volatile variable in c?
What is optimization in c?
What are types of preprocessor in c?
What are header files and explain what are its uses in c programming?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is signed and unsigned?
What are the keywords in c?
What is scanf_s in c?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Why c is a mother language?
What is the use of structure padding in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What is main () in c language?
Write a program to swap two numbers without using a temporary variable?