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 Allocate IP Addresses?

1563


What is the use of PF_LOCAL and SOCK_STREAM?

1585


What are the different types of sockets?

916


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

806


How to use the PF_LOCAL and AF_LOCAL Macros?

1558


How to open socket file in linux?

1035


Can a socket have multiple connections?

837


how to get client port number in server socket programming??

2386


How to Reply to a Wild Address?

1626


What is Internet Address Classes?

1389


What is the Use of the inet_netof() Function?

1277


How to Test with No Server?

1485


Are sockets bidirectional?

820


How to Understand Network Byte Order?

1381


How to read socket file in linux?

968