Answers

Question and Answer:

  Home  Linux Operating System Management

⟩ How many times printf() will be executed in the below mentioned program? main() { int i; for (i = 0; i < 4; i++) fork(); printf("my pid = %dn", getpid()); } a) 4 b) 8 c) 16 d) 32

c) 16

 136 views

More Questions for you: