What is the difference between fork() and vfork()?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• fork(): Creates a child process with a separate memory space.
• vfork(): Shares the memory space with the parent until exec() or _exit() is called.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• fork(): Creates a child process with a separate memory space.
• vfork(): Shares the memory space with the parent until exec() or _exit() is called.
| Is This Answer Correct ? | 0 Yes | 0 No |
which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}
what is the disadvantage of using macros?
Explain zero based addressing.
What is c++ used for today?
which operator having lowest precedence?? a.)+ b.)++ c.)= d.)%
How can I change the size of the dynamically allocated array?
What are the 4 types of functions?
What is default value of global variable in c?
What is scanf () in c?
hi , please send me NIC written test papers to sbabavalli@gmail.com
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }
Explain how does free() know explain how much memory to release?