. Explain the differences between fork() and exec() in C
Answer Posted / 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 View All Answers
Are comments included during the compilation stage and placed in the EXE file as well?
What is a good data structure to use for storing lines of text?
Explain how are 16- and 32-bit numbers stored?
Explain void pointer?
What is local and global variable in c?
What is extern c used for?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Does c have function or method?
What is void pointers in c?
What is %d used for?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Why is c platform dependent?
What are the types of assignment statements?
What are integer variable, floating-point variable and character variable?