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 / sindhura

it gives an error ,because prinf statement not given
correctly.if the printf statement is given as printf("\t%d",i--)
then the output of the prgm will be,
5 4 3 2 1 0

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a good way to implement complex numbers in c?

1087


Explain what are reserved words?

1158


Explain the difference between the local variable and global variable in c?

1133


What is the default value of local and global variables in c?

1099


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3309


What is c value paradox explain?

1158


What is the difference between Printf(..) and sprint(...) ?

1631


What is a keyword?

1217


What is scope rule in c?

1122


When do we get logical errors?

1172


What is an operator?

1124


What is array of structure in c programming?

1328


Can we declare function inside main?

1049


What are the advantages of Macro over function?

2090


When should the register modifier be used? Does it really help?

1003