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!");
}

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the full form of ipc?

1103


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

983


Explain about daemon?

976


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

966


What is unix ipc?

957


What is ln(linking)?

1003


Explain the system calls used for process management?

932


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

923


What is the condition required for dead lock in unix system?

933


What is the very first process created by kernel?

1030


What are the various schemes available?

903


What are the various schemes available in ipc?

930


Please describe the initial process sequence while the system boots up?

980


Explain the initial process sequence while the system boots up?

930


Explain how do you execute one program from within another?

934