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
What is the condition required for dead lock in unix system?
Max relax-able permission value with out giving write permission to others?
How to get or set an environment variable from a program?
Explain linking across directories?
What is i-node numbers?
Explain the initial process sequence while the system boots up?
Explain how do you execute one program from within another?
Explain the system calls used for process management?
Explain a zombie?
What are the various schemes available in ipc?
Which ipc is the fastest in unix?
What is ln(linking)?
What is daemon?
Please describe the initial process sequence while the system boots up?
What is fork()?