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

Answer Posted / sravan

s=10

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer to pointer in c language?

593


How is a null pointer different from a dangling pointer?

555


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2368


What is the deal on sprintf_s return value?

639


Explain what is gets() function?

625






Write a c program to demonstrate character and string constants?

1678


What does sizeof int return?

588


Are the expressions * ptr ++ and ++ * ptr same?

664


what is stack , heap ,code segment,and data segment

2214


Why we use break in c?

544


What is the significance of c program algorithms?

676


how to find anagram without using string functions using only loops in c programming

2712


How do you define structure?

563


What is a null string in c?

583


What are volatile variables in c?

517