Linux Socket Programming Question:
Download Job Interview Questions and Answers PDF
What is the difference between fork() & exec()?
Answer:
fork() created a newly independent process that has it's own
space in memory and also has own permission depends upon
what you assign
Using exec() the created process is a sub thread of calling
process. They also share area in memory and so that also
share all permission and resources.
space in memory and also has own permission depends upon
what you assign
Using exec() the created process is a sub thread of calling
process. They also share area in memory and so that also
share all permission and resources.
Download Linux Socket Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
How to get client port number in server socket programming? | What is the difference between a process task and threads? |