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 / subha raman

The operation in for-loop is "i--"..so it will print the
decremented value first..hence the output will be:
4
3
2
1
0

Is This Answer Correct ?    14 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What was noalias and what ever happened to it?

1100


what is recursion in C

1119


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

1106


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

3169


What is the best way to store flag values in a program?

1128


Explain what does the function toupper() do?

1136


What is identifier in c?

1066


Explain goto?

1207


Write a program to generate the Fibinocci Series

1305


Why do we use header files in c?

1128


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1332


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1210


Can include files be nested?

1163


What is indirection in c?

1124


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1068