Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,..

Answer / mithun

for(i=7;i>=0;i--)
{
printf("%d",M[i]);
}

Is This Answer Correct ?    7 Yes 1 No

write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,..

Answer / asd

for(i=8;i<=0;i--)
{
printf("%d",M[i]);
}

Is This Answer Correct ?    9 Yes 4 No

write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,..

Answer / reshma khan

for(i=8;i>0;i--)
{
printf("%d",m[i]);
}

Is This Answer Correct ?    2 Yes 3 No

write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,..

Answer / susarya

For(i=8;i>=0:i--);
{
printf("%d",M[i]);
scanf("%d,M[i++]")
}

Is This Answer Correct ?    0 Yes 1 No

write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,..

Answer / mithun

for(i=0;i<8;i++)
{
printf(M[i]);
}

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More C Interview Questions

what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string

3 Answers  


Explain what are multibyte characters?

0 Answers  


How does sizeof know array size?

0 Answers  


How do you use a pointer to a function?

0 Answers  


What is unary operator?

0 Answers  


Find the highest of three numbers and print them using ascending orders?

1 Answers  


Explain heap and queue.

0 Answers   Aricent,


what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it

5 Answers   DIT,


Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.

2 Answers  


How can I read a binary data file properly?

0 Answers  


what are the compilation steps? ( i want inside the compiler )

2 Answers  


how many times of error occur in C

11 Answers  


Categories