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 to know whether the message queue is empty or not.
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
Explain linking across directories?
Explain what is the process id for kernel process?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
what is the very first process created by kernell
Linking across directories?
Explain how do you execute one program from within another?
What is daemon?
What is the full form of ipc?
Explain what are the system calls used for process management?
How can you get or set an environment variable from a program?