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

Why pointers are used in c?

945


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1595


What is #define used for in c?

1015


What is .obj file in c?

1023


Is null equal to 0 in sql?

1088


Why can’t we compare structures?

1225


What are linker error?

1036


How can you allocate arrays or structures bigger than 64K?

1082


What is a newline escape sequence?

1055


What is the advantage of using #define to declare a constant?

1037


Write a program to know whether the input number is an armstrong number.

1072


How can I find out if there are characters available for reading?

1055


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4621


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16589


write a program to print data of 5 five students with structures?

2005