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 |
How can you get or set an environment variable from a program?
Explain the initial process sequence while the system boots up?
What are the various schemes available in ipc?
Explain linking across directories?
What are the various schemes available?
What are the system calls used for process management?
Explain what is the process id for kernel process?
set-user-id is related to (in unix)
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
Which ipc is the fastest in unix?
what about the initial process sequence while the system boots up?
Max relaxable permisssion value with out giving write permission to others?