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
What are the different types of errors?
What is the difference between void main and main in c?
What is binary tree in c?
What tq means in chat?
Differentiate abs() function from fabs() function.
Lists the benefits of c programming language?
What is the deal on sprintf_s return value?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is a scope resolution operator in c?
What is the size of empty structure in c?
Explain what is meant by 'bit masking'?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
What is call by value in c?
Why c language is called c?
What is external variable in c?