Predict the output of the following program code
main()
{
fork();
printf("Hello World!");
}
Answers were Sorted based on User's Feedback
Answer / shilpa
prints Hello world Hello world
All the statements after the call to fork() will be
executed twice
Is This Answer Correct ? | 13 Yes | 3 No |
What is i-node numbers?
Tell me set-user-id is related to (in unix)?
Please describe the initial process sequence while the system boots up?
What is daemon?
What are the system calls used for process management?
Explain linking across directories?
What are the various schemes available?
What is semaphone?
write About fork()?
What are various IDs associated with a process?
What are the various schemes available in ipc?
What is the full form of ipc?