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 / subha raman
sorry..please ignore the above answer..
the operation is "i--" =>post decrement,fist do the
operation and then decrement.
so the output will be:
5
Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Why do we use static in c?
Explain what is the general form of a c program?
What are static variables in c?
Why is C language being considered a middle level language?
How can I find out the size of a file, prior to reading it in?
What is c definition?
Can you write the function prototype, definition and mention the other requirements.
Explain continue keyword in c
Write a program to print “hello world” without using semicolon?
What is pointer & why it is used?
Explain about the constants which help in debugging?
What are linker error?
What is variable initialization and why is it important?
What is the process to generate random numbers in c programming language?