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 does main () mean in c?
What is a pragma?
What is null pointer in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Explain what is a pragma?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is extern storage class in c?
What is the size of array float a(10)?
What is the process to create increment and decrement stamen in c?
How to get string length of given string in c?
What does void main () mean?
Write a program to print factorial of given number using recursion?
Write a program to reverse a given number in c?
Explain the difference between ++u and u++?
What is the code for 3 questions and answer check in VisualBasic.Net?