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

what do you mean by enumeration constant?

996


How can I convert a number to a string?

1140


When should the volatile modifier be used?

1155


Explain what is meant by 'bit masking'?

1182


Write a C program to count the number of email on text

1900


What is the use of getchar() function?

1114


What are pointers? What are different types of pointers?

1119


How do you do dynamic memory allocation in C applications?

1073


What is data structure in c programming?

1062


Compare and contrast compilers from interpreters.

1111


What tq means in chat?

1103


How can I recover the file name given an open stream?

999


what do you mean by inline function in C?

1044


Explain the difference between getch() and getche() in c?

984


How can I write functions that take a variable number of arguments?

1114