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
What is the size of enum in c?
What is difference between structure and union in c programming?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
write a program to print data of 5 five students with structures?
What is a #include preprocessor?
What is pointers in c?
Differentiate between #include<...> and #include '...'
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is the role of this pointer?
State the difference between realloc and free.
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
How can I access an I o board directly?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
simple program of graphics and their output display