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

pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2645


What is the difference between exit() and _exit() function in c?

1076


How do you print only part of a string?

1022


What is call by reference in functions?

1446


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1821


What is omp_num_threads?

1079


What is meant by type specifiers?

1128


How can I pad a string to a known length?

1032


write a program to create a sparse matrix using dynamic memory allocation.

4892


There seem to be a few missing operators ..

1048


Why are all header files not declared in every c program?

1103


What is pivot in c?

1026


if p is a string contained in a string?

1845


What are the different types of linkage exist in c?

1032


What are the functions to open and close file in c language?

1203