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 get client port number in server socket programming??

2369


What is the Use of the inet_makeaddr() Function?

1336


How TCP/IP Handles Flow Control?

1587


Are sockets full duplex?

806


What are sockets used for?

809


What is the difference between socket & port?

897


How TCP/IP Handles Lost Packets?

1626


How to Bind Addresses to a Socket?

1355


How to Choose a Socket Type?

1290


How to read socket file in linux?

958


How to Bind a Specific Interface Address?

1575


Why bind system call is required in socket programming?

813


How to Specify an X.25 Address?

1512


How to look up a Service by Port and Protocol?

1520


What are Anonymous Calls?

1350