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 |
How can I access memory located at a certain address?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised
Write code for finding depth of tree
What does #pragma once mean?
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
Why C language is a procedural language?
Is multithreading possible in c?
Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?
how many argument we can pas in in a function
what is the basis for selection of arrays or pointers as data structure in a program
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.