main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Answer Posted / devendra kumar gupta
S is not define
there variable not declare error is occur
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
find the sum of two matrices and WAP for it.
What is a pragma?
How can I find out the size of a file, prior to reading it in?
What is omp_num_threads?
explain what are actual arguments?
Why do we use c for the speed of light?
Is there any data type in c with variable size?
What are 3 types of structures?
Do you know what are bitwise shift operators in c programming?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is a built-in function in C?
What are the features of the c language?
What is wrong in this statement?
What is the significance of an algorithm to C programming?