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
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is #define size in c?
What is a null string in c?
What header files do I need in order to define the standard library functions I use?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
Tell us something about keyword 'auto'.
Simplify the program segment if X = B then C ← true else C ← false
What is null pointer constant?
What does %p mean?
How can I read in an object file and jump to locations in it?
Which is best book for data structures in c?
How many header files are in c?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
Can stdout be forced to print somewhere other than the screen?