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

When is a null pointer used?

1117


Write a program that accept anumber in words

1761


What is function prototype in c with example?

1087


What is meant by inheritance?

1090


What is NULL pointer?

1100


Why c is faster than c++?

1043


How are Structure passing and returning implemented by the complier?

1171


When should a far pointer be used?

1133


Explain how do you use a pointer to a function?

1111


If fflush wont work, what can I use to flush input?

1106


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23775


What are the 4 data types?

1023


What is a structure member in c?

1007


Which is better oop or procedural?

1071


How do you determine the length of a string value that was stored in a variable?

1125