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 / mithun
for(i=7;i>=0;i--)
{
printf("%d",M[i]);
}
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How can you find the exact size of a data type in c?
What is function prototype?
What is the Purpose of 'extern' keyword in a function declaration?
What is the scope of an external variable in c?
Define Spanning-Tree Protocol (STP)
What are the preprocessor categories?
how to write a c program to print list of fruits in alpabetical order?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What are the types of operators in c?
What is 02d in c?
Can you write a programmer for FACTORIAL using recursion?
Differentiate between new and malloc(), delete and free() ?
How to create struct variables?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
How is = symbol different from == symbol in c programming?