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 / hope

Here is the correct answer. I have written this program
into my program. I run it and got the following output:
5
4
3
2
1
0

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get a null pointer in my programs?

622


Can the sizeof operator be used to tell the size of an array passed to a function?

622


What are the parts of c program?

640


Give me the code of in-order recursive and non-recursive.

890


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

712






What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

683


What kind of structure is a house?

562


What are c header files?

583


What is break statement?

636


Explain how do you override a defined macro?

590


Why do some versions of toupper act strangely if given an upper-case letter?

636


What does. int *x[](); means ?

640


Which is better between malloc and calloc?

673


What is the difference between typedef struct and struct?

602


Differentiate Source Codes from Object Codes

826