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...

what is the difference between fork() & exec()

Answer Posted / nitin

fork() creates a child process with most of the attributes
of the parent process. Both parent and child processes are
executed simultaneously.
exec() replaces the current process with a the executable
pointed by the function. Control never returns to the
original program unless there is an exec() error.

Is This Answer Correct ?    89 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Test with No Server?

1476


Can you send and receive on the same socket at the same time?

818


How to Initialize a Wild Internet Address?

1658


What are the Advantages of TCP/IP?

1585


How to Test with Other IP Numbers?

1499


What are the best linux system programming interview questions you've ever asked or been asked?

795


Why bind system call is required in socket programming?

820


How to Form Traditional Local Addresses?

1384


What is socket and how it works?

888


How to Reply to a Wild Address?

1617


How to Form Abstract Local Addresses?

1376


What are sockets in linux?

909


How to Compare Sockets to Pipes?

1368


HOW TCP/IP Handles Duplicated Packets?

1617


How to Understand Network Byte Order?

1362