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 / subha raman

sorry..please ignore the above answer..
the operation is "i--" =>post decrement,fist do the
operation and then decrement.
so the output will be:
5

Is This Answer Correct ?    5 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define structure?

1049


Do you know null pointer?

1035


Can a local variable be volatile in c?

1000


Why does the call char scanf work?

1213


What is define directive?

1160


What is a static function in c?

1174


Describe the difference between = and == symbols in c programming?

1379


What are pointers? Why are they used?

1190


What is typedef example?

1197


When should the const modifier be used?

1122


What is #error and use of it?

1287


How can you access memory located at a certain address?

1123


Is c easy to learn?

993


Where local variables are stored in c?

1012


What the advantages of using Unions?

1233