. 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
Why pointers are used in c?
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.
What is #define used for in c?
What is .obj file in c?
Is null equal to 0 in sql?
Why can’t we compare structures?
What are linker error?
How can you allocate arrays or structures bigger than 64K?
What is a newline escape sequence?
What is the advantage of using #define to declare a constant?
Write a program to know whether the input number is an armstrong number.
How can I find out if there are characters available for reading?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
write a program to print data of 5 five students with structures?