write a statement to display all the elements array M(in reverse order?
int M[8]={20,21,22,23,24,25,26,27};
Answers were Sorted based on User's Feedback
Answer / susarya
For(i=8;i>=0:i--);
{
printf("%d",M[i]);
scanf("%d,M[i++]")
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Explain why can’t constant values be used to define an array’s initial size?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
What is the explanation for the dangling pointer in c?
When should the register modifier be used? Does it really help?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
what are brk, sbrk?
WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS
Suggesting that there can be 62 seconds in a minute?
What is c value paradox explain?
What is the value of c?
main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....