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

How to Form Internet (IPv4) Socket Addresses?

1437


Are sockets full duplex?

765


How TCP/IP Handles Flow Control?

1548


What is the use of endservent(3) Function?

1537


How do udp sockets work?

778


What is socket linux?

792


How to Test with No Server?

1435


Why bind system call is required in socket programming?

783


What is the use of PF_INET and SOCK_STREAM?

1278


How to perform I/O on Sockets?

1392


What is socket abstraction?

793


What is the use of setprotoent(3) Function?

1526


How to Understand Netmask Values?

1263


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

748


How to Allocate IP Addresses?

1486