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

. Explain the differences between fork() and exec() in C

Answer Posted / nashiinformaticssolutions

1. fork(): Creates a new process (child) identical to the parent process.
2. exec(): Replaces the current process image with a new program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c have circular shift operators?

1205


Explain what are the advantages and disadvantages of a heap?

1054


What are the benefits of c language?

1134


Write a program on swapping (100, 50)

1081


difference between object file and executable file

6666


What is NULL pointer?

1059


What is far pointer in c?

1257


How can I automatically locate a programs configuration files in the same directory as the executable?

1125


What is extern variable in c with example?

975


Which is better between malloc and calloc?

1153


Explain setjmp()?

1034


What is the difference between typedef and #define?

1012


Difference between MAC vs. IP Addressing

1115


Write a Program to accept different goods with the number, price and date of purchase and display them

6180


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1363