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
Explain what math functions are available for integers? For floating point?
Do pointers need to be initialized?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Difference between Function to pointer and pointer to function
Can a variable be both constant and volatile?
what will be maximum number of comparisons when number of elements are given?
What is a spanning Tree?
What is static and volatile in c?
What is difference between structure and union with example?
What are derived data types in c?
What is pointer to pointer in c?
What will be your course of action for a push operation?
What is indirection in c?
What is the significance of an algorithm to C programming?
Can you please explain the scope of static variables?