Predict the output of the following program code
main()
{
fork();
printf("Hello World!");
}
Submitted by: Administratorprints Hello world Hello world
All the statements after the call to fork() will be
executed twice
Submitted by: Administrator
All the statements after the call to fork() will be
executed twice
Submitted by: Administrator
Read Online Unix IPC Job Interview Questions And Answers
Top Unix IPC Questions
☺ | What is Daemon? |
☺ | Explain a zombie? |
☺ | What are the system calls used for process management: |
☺ | How to write the program on full-duplex communication on bidirectional(e.g using two pipes)? |
☺ | What is an advantage of executing a process in background? |
Top OS Unix Categories
☺ | Unix IPC Interview Questions. |
☺ | Unix General Interview Questions. |
☺ | Unix System Calls Interview Questions. |
☺ | Unix Threads Interview Questions. |