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
Why is c used in embedded systems?
What is the use of #include in c?
What are the different types of control structures in programming?
write a c program for swapping two strings using pointer
What are different storage class specifiers in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
what is the function of pragma directive in c?
What are types of preprocessor in c?
Why doesnt this code work?
How pointer is different from array?
can any one tel me wt is the question pattern for NIC exam
Explain the term printf() and scanf() used in c language?
Are the outer parentheses in return statements really optional?
Explain how can a program be made to print the name of a source file where an error occurs?