main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Answer Posted / rupesh d. patil
Error
undefined symbol 's' in function main()
Warning
'sum' is assigned a value that is never used in function main
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does d mean?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the explanation for modular programming?
How can I find out if there are characters available for reading?
What is use of pointer?
What is #pragma statements?
Is int a keyword in c?
What is difference between scanf and gets?
Is swift based on c?
How can I dynamically allocate arrays?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What does s c mean on snapchat?
What is .obj file in c?
What is the most efficient way to store flag values?
What is the use of function in c?