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
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
In a switch statement, what will happen if a break statement is omitted?
Explain what does a function declared as pascal do differently?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Differentiate between functions getch() and getche().
What is memory leak in c?
Explain function?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Are negative numbers true in c?
write an algorithm to display a square matrix.
Are there constructors in c?
Which function in C can be used to append a string to another string?
What are the 5 types of organizational structures?
What are types of structure?
What is the use of a ‘ ’ character?