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 / asd

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

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what math functions are available for integers? For floating point?

1097


Do pointers need to be initialized?

1058


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2293


Difference between Function to pointer and pointer to function

1054


Can a variable be both constant and volatile?

1097


what will be maximum number of comparisons when number of elements are given?

1889


What is a spanning Tree?

1560


What is static and volatile in c?

1214


What is difference between structure and union with example?

1039


What are derived data types in c?

1061


What is pointer to pointer in c?

1098


What will be your course of action for a push operation?

1097


What is indirection in c?

1056


What is the significance of an algorithm to C programming?

1032


Can you please explain the scope of static variables?

1036