main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}

Answer Posted / jack

-14

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of null pointer in c?

563


Is int a keyword in c?

552


What is the 'named constructor idiom'?

636


How is a pointer variable declared?

588


What are header files in c?

614






What is a global variable in c?

587


Can you write the function prototype, definition and mention the other requirements.

656


What is double pointer?

554


How can you pass an array to a function by value?

597


explain what are actual arguments?

630


How do you view the path?

662


What is #include conio h?

589


Write a code to generate a series where the next element is the sum of last k terms.

730


What is static identifier?

701


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

603