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?

954


What is unix ipc?

1000


What are the various schemes available?

952


Which ipc is faster?

972


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

1009


Which ipc is the fastest in unix?

988


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

1003


Please explain fork() system call?

985


What is i-node numbers?

1145


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

1031


What are two different models of ipc differentiate both?

1042


What is the very first process created by kernel?

1058


Explain a zombie?

1041


What is the full form of ipc?

1128


What is ipc in unix?

997