Difference between fork and exec

Describe the difference between fork() and  exec()?

E

Expert

Verified

fork() made a newly independent process which has its own space in memory and also has own permission based upon what you assign

exec() the made process is a sub thread of calling process. They also share area in memory and so that also share all permission and resources.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.