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 / suresh reddy
The correct answer is
5
3
1
because
in for loop "i--" statement is there and again in printf
statement "i--" is there.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What's the difference between constant char *p and char * constant p?
What do you mean by dynamic memory allocation in c?
When is the “void” keyword used in a function?
What are volatile variables in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What is meant by initialization and how we initialize a variable?
How are Structure passing and returning implemented by the complier?
What are the uses of a pointer?
What does %c mean in c?
How can I read/write structures from/to data files?
What are the __date__ and __time__ preprocessor commands?
simple program of graphics and their output display
What does return 1 means in c?
What are the features of the c language?
Explain what is a stream?