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 it mean when the linker says that _end is undefined?
What is the purpose of void in c?
What is c variable?
What does main () mean in c?
Differentiate between full, complete & perfect binary trees.
Can you explain the four storage classes in C?
what is reason of your company position's in india no. 1.
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Explain what are reserved words?
Why is c used in embedded systems?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What are the c keywords?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is header file definition?