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 |
Explain a zombie?
Explain what are the system calls used for process management?
What are the system calls used for process management:
set-user-id is related to (in unix)
What Happens when you execute a command?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
How to know whether the message queue is empty or not.
What is unix ipc?
Explain the advantage of executing a process in background?
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
what is the process id for kernell process
What is daemon?