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

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

Are comments included during the compilation stage and placed in the EXE file as well?

1028


What is a good data structure to use for storing lines of text?

1033


Explain how are 16- and 32-bit numbers stored?

1207


Explain void pointer?

971


What is local and global variable in c?

1128


What is extern c used for?

998


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1023


Does c have function or method?

942


What is void pointers in c?

957


What is %d used for?

992


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1258


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1917


Why is c platform dependent?

1023


What are the types of assignment statements?

1005


What are integer variable, floating-point variable and character variable?

1183