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 condition required for dead lock in unix system?

1021


Explain what is the process id for kernel process?

1040


Which ipc is the fastest in unix?

1048


What is fork()?

1097


Explain how do you execute one program from within another?

1019


What is the very first process created by kernel?

1106


What is the full form of ipc?

1185


Explain the advantage of executing a process in background?

978


What are the various schemes available?

1006


Explain the system calls used for process management?

1025


What is daemon?

1085


Which ipc is faster?

1037


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

1073


What is ln(linking)?

1084


What is ipc port?

1054