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
Write a program to identify if a given binary tree is balanced or not.
What is the difference between strcpy() and memcpy() function in c programming?
What does void main () mean?
What is a method in c?
Where static variables are stored in c?
Why string is used in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Explain function?
What does d mean?
Are local variables initialized to zero by default in c?
What is the difference between NULL and NUL?
What is union and structure in c?
Differentiate fundamental data types and derived data types in C.
What is operator promotion?
How are structure passing and returning implemented?