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 is variable initialization and why is it important?

1342


What are global variables?

1269


How many keywords (reserve words) are in c?

1194


How a string is stored in c?

1120


What is the use of header?

1145


Can you please explain the difference between syntax vs logical error?

1242


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1194


What is the difference between text and binary i/o?

1122


How to Throw some light on the splay trees?

1104


What are the different types of pointers used in c language?

1103


Describe the modifier in c?

1150


What are the three constants used in c?

1045


Why is c platform dependent?

1143


application attempts to perform an operation?

2038


What is c programing language?

1137