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

Answers were Sorted based on User's Feedback



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

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

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

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

More C Interview Questions

write a programming in c to find the sum of all elements in an array through function.

0 Answers  


in which language c language is written?

2 Answers  


increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {

2 Answers   HCL, Syntel, TCS,


What should be keep precautions while using the recursion method?

1 Answers  


main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }

7 Answers   HCL,


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

8 Answers   Aspire,


What is the use of the function in c?

0 Answers  


difference between malloc and calloc

3 Answers   HCL, Wipro,


What are the difference between a free-standing and a hosted environment?

0 Answers   Infogain,


sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.

1 Answers  


What are the three constants used in c?

0 Answers  


What is the use of ?

0 Answers  


Categories