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

How are Structure passing and returning implemented by the complier?

1118


What is the difference between void main and main in c?

1113


How can I write a function analogous to scanf?

1111


If I have a char * variable pointing to the name of a function ..

1136


How is actual parameter different from the formal parameter?

982


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1198


Is c easy to learn?

946


Is it better to use malloc() or calloc()?

1074


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1085


In a switch statement, explain what will happen if a break statement is omitted?

1006


Is calloc better than malloc?

978


Write a program to print all permutations of a given string.

1142


When should the volatile modifier be used?

1117


How can you determine the maximum value that a numeric variable can hold?

1166


Difference between goto, long jmp() and setjmp()?

1133