#include <stdio.h>
int main() {
int i;
for (i=0;i<3;++i) {
fork();fork();
}
}
How many processes are created when running this program
(including the initial one)?
Explain &#1567;&#1567;&#1567;

Answer Posted / govind verma

5 process will create..........

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between strcpy() and memcpy() function?

684


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

945


What is multidimensional arrays

637


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

667


What are the differences between Structures and Arrays?

614






PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1474


What is the heap in c?

647


What is the difference between the = symbol and == symbol?

631


Write programs for String Reversal & Palindrome check

601


Explain what is the purpose of "extern" keyword in a function declaration?

625


What is sizeof int in c?

606


Why do we use return in c?

571


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2415


what is the height of tree if leaf node is at level 3. please explain

1604


Why can't I perform arithmetic on a void* pointer?

639