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 s c mean on snapchat?
What is the use of a static variable in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Can the sizeof operator be used to tell the size of an array passed to a function?
What is adt in c programming?
What is a char c?
What is far pointer in c?
plz let me know how to become a telecom protocol tester. thank you.
What are multidimensional arrays?
What language is lisp written in?
How can I dynamically allocate arrays?
How is null defined in c?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What is the difference between void main and main in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if