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 / sindhura
it gives an error ,because prinf statement not given
correctly.if the printf statement is given as printf("\t%d",i--)
then the output of the prgm will be,
5 4 3 2 1 0
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What is the difference between exit() and _exit() function in c?
How do you print only part of a string?
What is call by reference in functions?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is omp_num_threads?
What is meant by type specifiers?
How can I pad a string to a known length?
write a program to create a sparse matrix using dynamic memory allocation.
There seem to be a few missing operators ..
Why are all header files not declared in every c program?
What is pivot in c?
if p is a string contained in a string?
What are the different types of linkage exist in c?
What are the functions to open and close file in c language?