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 is the total generic pointer type?
How does struct work in c?
i have a written test for microland please give me test pattern
Why c language is called c?
what is event driven software and what is procedural driven software?
Where static variables are stored in c?
How can I prevent another program from modifying part of a file that I am modifying?
How can I trap or ignore keyboard interrupts like control-c?
How many header files are in c?
Is it possible to initialize a variable at the time it was declared?
what are non standard function in c
When should a type cast not be used?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is extern c used for?
How can you call a function, given its name as a string?