Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Predict the output of the following program code
main()
{
fork();
printf("Hello World!");
}

Answers were Sorted based on User's Feedback



Predict the output of the following program code main() { fork(); printf("Hello World!&qu..

Answer / guest

The output is

Hello World!Hello World!

Is This Answer Correct ?    24 Yes 3 No

Predict the output of the following program code main() { fork(); printf("Hello World!&qu..

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

Predict the output of the following program code main() { fork(); printf("Hello World!&qu..

Answer / rocky

Hello World!Hello World!

Is This Answer Correct ?    11 Yes 1 No

Post New Answer

More Unix IPC Interview Questions

Explain a zombie?

0 Answers  


Explain what are the system calls used for process management?

0 Answers  


What are the system calls used for process management:

5 Answers  


set-user-id is related to (in unix)

1 Answers  


What Happens when you execute a command?

3 Answers  


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

0 Answers  


How to know whether the message queue is empty or not.

1 Answers   Fibcom, HCL,


What is unix ipc?

0 Answers  


Explain the advantage of executing a process in background?

0 Answers  


Predict the output of the following program code main() { fork(); printf("Hello World!"); }

3 Answers  


what is the process id for kernell process

3 Answers  


What is daemon?

0 Answers  


Categories