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 the condition required for dead lock in unix sustem ?
How to write the program on full-duplex communication using 2 FIFOs
What is an advantage of executing a process in background?
What is Inode.
what is the process id for kernell process
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
What is a Daemon?
What are two different models of ipc differentiate both?
How to write the program on full-duplex communication on biderctional(e.g using two pipes)
What is i-node numbers?
Explain how do you execute one program from within another?
What is daemon?