. 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
Does c have circular shift operators?
Explain what are the advantages and disadvantages of a heap?
What are the benefits of c language?
Write a program on swapping (100, 50)
difference between object file and executable file
What is NULL pointer?
What is far pointer in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is extern variable in c with example?
Which is better between malloc and calloc?
Explain setjmp()?
What is the difference between typedef and #define?
Difference between MAC vs. IP Addressing
Write a Program to accept different goods with the number, price and date of purchase and display them
What is Dynamic memory allocation in C? Name the dynamic allocation functions.