how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);
Answer Posted / rima
It will give compilatiin error "warning: passing argument 1
of âprintfâ makes pointer from integer without a cast",
because the syntax of printf is not right.
And it would have been printf("%d",i--);
Then correct answer is 531.
This is the correct answer rest all are wrong.[:)]
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What does main () mean in c?
Explain goto?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Differentiate between functions getch() and getche().
What are register variables in c?
What is cohesion and coupling in c?
what are the facialities provided by you after the selection of the student.
What are void pointers in c?
Why c is called a middle level language?
What is difference between structure and union in c?
write a program to create a sparse matrix using dynamic memory allocation.
show how link list can be used to repersent the following polynomial i) 5x+2
What is the difference between printf and scanf in c?
How can I read and write comma-delimited text?
What are the different types of objects used in c?