Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which is the memory area not included in C program? give the reason

1998


What is wrong in this statement?

1212


Explain how many levels deep can include files be nested?

1116


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2745


Write a program to print “hello world” without using semicolon?

1179


What is the difference between malloc calloc and realloc in c?

1187


What is the function of volatile in c language?

1184


What are the 5 types of inheritance in c ++?

1071


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1644


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(); }

2350


What is the scope of static variable in c?

1078


What is the purpose of ftell?

1137


What is the scope of an external variable in c?

1095


What are pointers? Why are they used?

1246


Can static variables be declared in a header file?

1098