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 / binz
Answer is
5
3
1
But you should change your printf statement to printf("%d",
i--);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which is the memory area not included in C program? give the reason
What is wrong in this statement?
Explain how many levels deep can include files be nested?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Write a program to print “hello world” without using semicolon?
What is the difference between malloc calloc and realloc in c?
What is the function of volatile in c language?
What are the 5 types of inheritance in c ++?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is the scope of static variable in c?
What is the purpose of ftell?
What is the scope of an external variable in c?
What are pointers? Why are they used?
Can static variables be declared in a header file?