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
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Why do we use & in c?
What are the types of arrays in c?
Is that possible to store 32768 in an int data type variable?
What is a spanning Tree?
Tell me is null always defined as 0(zero)?
Why ca not I do something like this?
Explain the difference between structs and unions in c?
Is return a keyword in c?
how many key words availabel in c a) 28 b) 31 c) 32
What is dangling pointer in c?
what does static variable mean?
What is difference between scanf and gets?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is a good data structure to use for storing lines of text?