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 / asd
for(i=8;i<=0;i--)
{
printf("%d",M[i]);
}
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
How many data structures are there in c?
How is a structure member accessed?
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?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What is structure in c definition?
How can a program be made to print the line number where an error occurs?
Is register a keyword in c?
Is null always equal to 0(zero)?
What does %d do in c?
What is #define?
How can I ensure that integer arithmetic doesnt overflow?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What are register variables? What are the advantage of using register variables?
Explain what is the purpose of "extern" keyword in a function declaration?
What is context in c?