Predict the output of the following program code main() { fork(); fork(); fork(); printf("Am in TCS!"); }

  1. It will get printed once

  2. it will get printed 8times

  3. it will not work

  4. It wil print three times


Correct Option: B

Find more quizzes: