. Explain the differences between fork() and exec() in C
Answers were Sorted based on User's Feedback
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 |
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 |
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
what is constant pointer?
Can the curly brackets { } be used to enclose a single line of code?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
0 Answers College School Exams Tests,
How do we declare variables in c?
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is the difference between variable declaration and variable definition in c?
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
Write a progarm to find the length of string using switch case?
What is external variable in c?