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 / suresh reddy

The correct answer is

5
3
1

because

in for loop "i--" statement is there and again in printf
statement "i--" is there.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a pointer variable declared?

1099


what are bit fields in c?

1722


What is a program flowchart?

1207


What is the right type to use for boolean values in c? Is there a standard type?

1018


What does the message "automatic aggregate intialization is an ansi feature" mean?

1190


What is spark map function?

1140


Is c is a high level language?

1194


Explain continue keyword in c

1021


What is meant by type casting?

1054


What is dangling pointer in c?

1239


What is difference between structure and union in c programming?

1111


List out few of the applications that make use of Multilinked Structures?

2198


What's the total generic pointer type?

1055


What is the use of static variable in c?

1091


What are different types of pointers?

1075