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 c programming structure?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Explain how do you list a file’s date and time?
explain what is a newline escape sequence?
What is console in c language?
Give the rules for variable declaration?
What is break in c?
Explain what math functions are available for integers? For floating point?
How do you write a program which produces its own source code as output?
How can I get random integers in a certain range?
What is function prototype in c with example?
why wipro wase
What are high level languages like C and FORTRAN also known as?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is the difference between test design and test case design?