main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Answer Posted / anu
Error
since s is not declared
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is pointers in c with example?
The statement, int(*x[]) () what does in indicate?
what is stack , heap ,code segment,and data segment
How can I send mail from within a c program?
Explain how do you generate random numbers in c?
What is function prototype?
What is wrong with this program statement?
Why isn't it being handled properly?
What are the advantage of c language?
What is the importance of c in your views?
Explain what’s a signal? Explain what do I use signals for?
Explain the difference between structs and unions in c?
while initialization of array why we use a[][2] why not a[2][]...?
What are extern variables in c?
Which are low level languages?