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 ?
Linking across directories?
What is ipc port?
What is daemon?
Explain what is the process id for kernel process?
how to create tree of processes. one parent and 3 childs.
What is Inode.
How do you execute one program from within another?
What is a zombie?
What are the process states in Unix?
Which ipc is the fastest in unix?
About i-node numbers