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 ln(linking)?

985


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

948


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

910


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

959


What is fork()?

982


Explain linking across directories?

894


What is the full form of ipc?

1075


Explain the initial process sequence while the system boots up?

911


Explain what is the process id for kernel process?

942


Explain the system calls used for process management?

910


Tell me set-user-id is related to (in unix)?

869


Please explain fork() system call?

930


Explain a zombie?

996


Explain about daemon?

957


What is ipc port?

931