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 do you execute one program from within another?
How to get or set an environment variable from a program?
Max relax-able permission value with out giving write permission to others?
what is the condition required for dead lock in unix sustem ?
What are various IDs associated with a process?
About i-node numbers
What is IPC? What are the various schemes available?
What is semaphone?
Max relaxable permisssion value with out giving write permission to others?
Explain a zombie?
set-user-id is related to (in unix)
What is unix ipc?