Predict the output of the following program code
main()
{
fork();
printf("Hello World!");
}
Answer Posted / 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 |
Post New Answer View All Answers
Explain the initial process sequence while the system boots up?
What is the very first process created by kernel?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
Explain what are the system calls used for process management?
Explain a zombie?
Explain the system calls used for process management?
What is daemon?
Please describe the initial process sequence while the system boots up?
Explain what is the process id for kernel process?
What is ln(linking)?
What is unix ipc?
What are the various schemes available in ipc?
How to write the program on full-duplex communication on bidirectional?
What is ipc in unix?
Explain the advantage of executing a process in background?