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 the difference between a string and an array?

1153


What is c basic?

1124


Differentiate between null and void pointers.

1116


c program to compute AREA under integral

2336


What is 2c dna?

1019


What are pointers really good for, anyway?

1013


What is the use of clrscr?

1053


Why should I use standard library functions instead of writing my own?

1204


If you know then define #pragma?

1053


Can a pointer be static?

1021


Is int a keyword in c?

905


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2038


What is selection sort in c?

1017


how do you execute a c program in unix.

1074


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

1024