Multiple choice technology operating systems

9 Difference between fork() & vfork()

  1. 1 vforlk() allows more one child process to be created simaltaneously whereas for() allows only one

  2. 2 vfork() retains same PID for child & parent known as virtual PID

  3. 3 vfork() suspends the parent process until child process exits

  4. 4 fork() & vfork() are same

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The primary difference is that vfork() suspends the parent process until the child either calls exec() or _exit(), whereas fork() creates a full copy (or copy-on-write) and allows both to run concurrently.