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
What is the difference between c and python?
What is call by value in c?
Why do we use pointer to pointer in c?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is the difference between text files and binary files?
Write a program to show the change in position of a cursor using c
Can a local variable be volatile in c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is the use of getchar functions?
Explain how do you sort filenames in a directory?
What is int main () in c?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Why do we use & in c?
Explain is it better to bitshift a value than to multiply by 2?