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

How do you execute one program from within another?

4 Answers  


How to get or set an environment variable from a program?

0 Answers  


Max relax-able permission value with out giving write permission to others?

0 Answers  


what is the condition required for dead lock in unix sustem ?

2 Answers  


What are various IDs associated with a process?

3 Answers  


About i-node numbers

1 Answers  


What is IPC? What are the various schemes available?

5 Answers  


What is semaphone?

5 Answers   HCL,


Max relaxable permisssion value with out giving write permission to others?

2 Answers   IBM,


Explain a zombie?

0 Answers  


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

1 Answers  


What is unix ipc?

0 Answers  


Categories