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...

write a statement to display all the elements array M(in reverse order?

int M[8]={20,21,22,23,24,25,26,27};

Answer Posted / reshma khan

for(i=8;i>0;i--)
{
printf("%d",m[i]);
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a function argument have default value?

1126


Can we increase size of array in c?

952


Can static variables be declared in a header file?

1045


What is the purpose of sprintf?

1117


How can you check to see whether a symbol is defined?

1090


Are pointers really faster than arrays?

1006


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1127


Why string is used in c?

991


What is variable and explain rules to declare variable in c?

1071


What are the different types of pointers used in c language?

1030


What does 1f stand for?

1135


What is the function of this pointer?

1309


What is derived datatype in c?

1071


What library is sizeof in c?

1071


Where are some collections of useful code fragments and examples?

1144