two progs are given. one starts counting frm 0 to MAX and
the other stars frm MAX to 0. which one executes fast.
Answer Posted / venkatesh
depends on program
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When is a null pointer used?
What are high level languages like C and FORTRAN also known as?
Is a house a shell structure?
how to build a exercise findig min number of e heap with list imlemented?
What is the scope of static variable in c?
How many levels of indirection in pointers can you have in a single declaration?
Can we replace the struct function in tree syntax with a union?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is the most efficient way to store flag values?
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 a example of a variable?
What is variable in c example?
How can I remove the leading spaces from a string?
Is there a way to switch on strings?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?