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 function and its example?

1231


Is anything faster than c?

1017


Explain what are the advantages and disadvantages of a heap?

1094


What is a volatile keyword in c?

1165


What are enums in c?

1212


Was 2000 a leap year?

1060


What is difference between structure and union in c?

995


Explain what is the difference between #include and #include 'file' ?

1035


write a program fibonacci series and palindrome program in c

1052


What is the general form of function in c?

1022


When should you use a type cast?

1130


application attempts to perform an operation?

1984


What is const keyword in c?

1168


What are the various types of control structures in programming?

1064


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1111