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
What is the difference between a string and an array?
What is c basic?
Differentiate between null and void pointers.
c program to compute AREA under integral
What is 2c dna?
What are pointers really good for, anyway?
What is the use of clrscr?
Why should I use standard library functions instead of writing my own?
If you know then define #pragma?
Can a pointer be static?
Is int a keyword in c?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is selection sort in c?
how do you execute a c program in unix.
Explain the difference between the local variable and global variable in c?