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
Can a function argument have default value?
Can we increase size of array in c?
Can static variables be declared in a header file?
What is the purpose of sprintf?
How can you check to see whether a symbol is defined?
Are pointers really faster than arrays?
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
Why string is used in c?
What is variable and explain rules to declare variable in c?
What are the different types of pointers used in c language?
What does 1f stand for?
What is the function of this pointer?
What is derived datatype in c?
What library is sizeof in c?
Where are some collections of useful code fragments and examples?