Interviewer And Interviewee Guide

Linux Socket Programming Interview Question:

What is the difference between fork() & exec()?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Linux Socket Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.