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

What is the difference between c and python?

1103


What is call by value in c?

952


Why do we use pointer to pointer in c?

1020


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

957


What is the difference between text files and binary files?

1282


Write a program to show the change in position of a cursor using c

996


Can a local variable be volatile in c?

936


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1014


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2078


What is the use of getchar functions?

1126


Explain how do you sort filenames in a directory?

983


What is int main () in c?

1027


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2625


Why do we use & in c?

949


Explain is it better to bitshift a value than to multiply by 2?

1137