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 a zombie?
how to create tree of processes. one parent and 3 childs.
What is unix ipc?
set-user-id is related to (in unix)
How to write the program on full-duplex communication on bidirectional?
What is ln(linking)?
What is the condition required for dead lock in unix system?
What are the system calls used for process management?
How to know whether the message queue is empty or not.
Explain fork() system call?
Explain what is the process id for kernel process?
About ln(linking)