how many processes will gate created execution of
--------
fork();
fork();
fork();
--------
Please Explain...
Thanks in advance..!
Answer Posted / abhinav
The process creation at each fork is shown. the number after
fork tells which process is calling fork.
Total 8 processes.
/--1
/---fork1
/ \--5
/-fork1-
/ \ /--3
/ \---fork3
---fork1 \--6
\
| /--2
\ /--fork2--
\ / \--7
\fork2--
\ /--4
\--fork4--
\--8
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
how to test pierrot divisor
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
why nlogn is the lower limit of any sort algorithm?
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
What is full form of PEPSI
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
Cluster head selection in Wireless Sensor Network using C programming language.
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
Write a routine to implement the polymarker function
Develop a routine to reflect an object about an arbitrarily selected plane