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 unix ipc?
What are the various schemes available?
Which ipc is faster?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
Which ipc is the fastest in unix?
Max relax-able permission value with out giving write permission to others?
Please explain fork() system call?
What is i-node numbers?
How to write the program on full-duplex communication on bidirectional?
What are two different models of ipc differentiate both?
What is the very first process created by kernel?
Explain a zombie?
What is the full form of ipc?
What is ipc in unix?