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 / anand

fork() created a newly independent process that has it's own
space in memory and also has own permission depends upon
what you assign

Using exec() the created process is a sub thread of calling
process. They also share area in memory and so that also
share all permission and resources.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Address Conversion Functions?

1493


How to Reply to a Wild Address?

1619


How to use the PF_LOCAL and AF_LOCAL Macros?

1552


What is the use of inet_network()?

1455


What is socket file in linux?

960


What is the difference between socket & port?

907


How to Obtaine the Socket Address?

1454


How to Form Internet (IPv4) Socket Addresses?

1505


How to look up a Service by Port and Protocol?

1526


How to Allocate IP Addresses?

1553


Are sockets full duplex?

817


How to Perform Input/Output of Datagrams?

1443


What are Private IP Numbers?

1219


How to Test with Other IP Numbers?

1500


What is the use of PF_INET or AF_INET?

1580