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
Explain what is output redirection?
Explain the difference between malloc() and calloc() in c?
What is echo in c programming?
Explain how do you override a defined macro?
What is a memory leak? How to avoid it?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is a nested loop?
Where can I get an ansi-compatible lint?
What are data structures in c and how to use them?
What is static identifier?
What does sizeof int return?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is the difference between fread buffer() and fwrite buffer()?
What is getche() function?
What is #pragma statements?