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 / abhishek roy

Yes there is syntax error in printf statement but if write
printf("%d",i--)then The output for the given for loop is
5 3 1.

it is 100 % write....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of getchar() function?

1187


difference between object file and executable file

6806


What is 2c dna?

1132


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

1075


What is character set?

1220


Write a Program to find whether the given number or string is palindrome.

1344


how could explain about job profile

1990


Explain how can you check to see whether a symbol is defined?

1255


Why main is not a keyword in c?

1325


What’s the special use of UNIONS?

1209


What is a program flowchart?

1289


What are loops in c?

1070


What would be an example of a structure analogous to structure c?

1054


Explain how do you override a defined macro?

1139


What are the 5 data types?

1216