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

Explain the initial process sequence while the system boots up?

976


What is the very first process created by kernel?

1074


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

1022


Explain what are the system calls used for process management?

959


Explain a zombie?

1059


Explain the system calls used for process management?

985


What is daemon?

1047


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

1039


Explain what is the process id for kernel process?

1007


What is ln(linking)?

1045


What is unix ipc?

1020


What are the various schemes available in ipc?

979


How to write the program on full-duplex communication on bidirectional?

1049


What is ipc in unix?

1018


Explain the advantage of executing a process in background?

940